From: dmv Date: Tue, 19 Oct 2010 09:50:13 +0000 (+0000) Subject: Corrections for KERNEL tests with --interp or -i options X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a4a13bb9214d41d5b0da0780eb18dc5a07bd4059;p=modules%2Fkernel.git Corrections for KERNEL tests with --interp or -i options --- diff --git a/bin/runSalome.py b/bin/runSalome.py index d03a67d6e..067ae0d92 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -87,8 +87,11 @@ def kill_salome(args): class InterpServer(Server): def __init__(self,args): self.args=args - env_ld_library_path=['env', 'LD_LIBRARY_PATH=' + os.getenv("LD_LIBRARY_PATH")] - self.CMD=['xterm', '-e']+ env_ld_library_path + ['python'] + if sys.platform != "win32": + env_ld_library_path=['env', 'LD_LIBRARY_PATH=' + os.getenv("LD_LIBRARY_PATH")] + self.CMD=['xterm', '-e']+ env_ld_library_path + ['python'] + else: + self.CMD=['cmd', '/c', 'start cmd.exe', '/K', 'python'] def run(self): global process_id