Skip to content

TL not working #1

@difhel

Description

@difhel

Testing this executable:

#include <iostream>
using namespace std;

int main() {
    while(true) cout << "Welcome from executable" << endl;
}
g++ tester.cpp -o tester.o
import runner_lib_py

lim = runner_lib_py.Runner.Limits()
lim.thread = 5
lim.memory = 1000 # kb
lim.time = 2000 # ms
x = runner_lib_py.Runner("/home/mf/projects/elan/runner/tester.o", "input", lim)

print(x.GetOutput().res)
print(x.GetOutput().output)

The program stucks without any output produced

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions