diff options
Diffstat (limited to 'yaksh/bash_stdio_evaluator.py')
-rw-r--r-- | yaksh/bash_stdio_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/bash_stdio_evaluator.py b/yaksh/bash_stdio_evaluator.py index 25f35a1..5431e5d 100644 --- a/yaksh/bash_stdio_evaluator.py +++ b/yaksh/bash_stdio_evaluator.py @@ -30,7 +30,7 @@ class BashStdioEvaluator(CodeEvaluator): def check_code(self, user_answer, expected_input, expected_output): success = False expected_input = str(expected_input).replace('\r', '') - proc = subprocess.Popen(["bash ./Test.sh"], + proc = subprocess.Popen("bash ./Test.sh", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, |