Remove stdout/stderr from subprocesses (redirected to /dev/null)
This means that the subprocess should now not crash anymore because of people writing to stdout in c modules and stderr should be empty. Fixes #793.
This commit is contained in:
1 parent
5f0b34a520
commit
094affaf84
3 files changed
+23
-2
No files matched your search
@@ -67,6 +67,11 @@ def test_error_in_environment(evaluator, Script):
|
||||
assert def_.name == 'str'
|
||||
|
||||
|
||||
def test_stdout_in_subprocess(evaluator, Script):
|
||||
evaluator.compiled_subprocess._test_print(stdout='.')
|
||||
Script('1').goto_definitions()
|
||||
|
||||
|
||||
def test_killed_subprocess(evaluator, Script):
|
||||
# Just kill the subprocess.
|
||||
evaluator.compiled_subprocess._compiled_subprocess._process.kill()
|
||||
|
||||
Reference in new issue
Block a user