akiko19191 commited on
Commit
f0ad612
·
verified ·
1 Parent(s): 0fdf430

Update tests.py

Browse files
Files changed (1) hide show
  1. tests.py +1 -1
tests.py CHANGED
@@ -143,7 +143,7 @@ session = FuturesSession()
143
  def run(cmd, timeout_sec):
144
  global stdout
145
  global stderr
146
- proc = Popen(shlex.split(cmd), stdout=PIPE, stderr=PIPE,cwd="/app/code_interpreter/")
147
  timer = Timer(timeout_sec, proc.kill)
148
  try:
149
  timer.start()
 
143
  def run(cmd, timeout_sec):
144
  global stdout
145
  global stderr
146
+ proc = Popen(shlex.split(cmd), stdout=PIPE, stderr=PIPE,cwd="/app/code_interpreter/", shell=True)
147
  timer = Timer(timeout_sec, proc.kill)
148
  try:
149
  timer.start()