summaryrefslogtreecommitdiff
path: root/testapp/code_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/code_server.py')
-rwxr-xr-xtestapp/code_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/code_server.py b/testapp/code_server.py
index c0b92b1..7d9ebd2 100755
--- a/testapp/code_server.py
+++ b/testapp/code_server.py
@@ -713,7 +713,7 @@ class CodeServer(object):
success = False
try:
cmd = 'printf "lines(0)\nexec(\'{0}\',2);\nquit();"'.format(ref_path)
- cmd += ' | scilab-cli -nb'
+ cmd += ' | timeout 8 scilab-cli -nb'
ret = self._run_command(cmd,
shell=True,
stdout=subprocess.PIPE,