From a6f057bd120bcd70e38bd3090615e5e5e5039dde Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 22 Mar 2004 07:23:39 +0000 Subject: [PATCH] PR: On DEBIAN Woody, need to give LD_LIBRARY_PATH in args for xterm --- bin/runSalome.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index 3586e5542..d3f2de288 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -150,11 +150,14 @@ if "SUPERV" in liste_modules:with_container_superv=1 class Server: CMD=[] if with_xterm: - ARGS=['xterm', '-iconic', '-sb', '-sl', '500', '-e'] + ARGS=['xterm', '-iconic', '-sb', '-sl', '500', '-hold', '-e'] else: ARGS=[] def run(self): + # (Debian) Transfert variable LD_LIBRARY_PATH aux shells fils (xterm) + env_ld_library_path=['env', 'LD_LIBRARY_PATH='+ os.getenv("LD_LIBRARY_PATH")] + args = self.ARGS+ env_ld_library_path + self.CMD args = self.ARGS+self.CMD #print "args = ", args pid = os.spawnvp(os.P_NOWAIT, args[0], args) -- 2.39.2