X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2FrunConsole.py;h=78e12ee2eac74881b9e74922e624637016373fa6;hb=8764993ca8f4c49e9115a82431facec577aba8a5;hp=1788b206c96b5344d00325bcd4bc944bef1ef4ae;hpb=ffb575fb87d39b96f6108dfaa479e59d0da1dae3;p=modules%2Fkernel.git diff --git a/bin/runConsole.py b/bin/runConsole.py index 1788b206c..78e12ee2e 100644 --- a/bin/runConsole.py +++ b/bin/runConsole.py @@ -215,9 +215,9 @@ def connect(args=None, env=None): import subprocess absoluteAppliPath = os.getenv('ABSOLUTE_APPLI_PATH','') env_copy = os.environ.copy() - cmdDump=pickle.dumps(cmd,protocol=0) - cmdString=cmdDump.decode() - proc = subprocess.Popen(['python', os.path.join(absoluteAppliPath,"bin","salome","runConsole.py"), cmdString], shell=False, close_fds=True, env=env_copy) + cmdDump = pickle.dumps(cmd, protocol=0) + cmdString = cmdDump.decode() + proc = subprocess.Popen(['python3', os.path.join(absoluteAppliPath,"bin","salome","runConsole.py"), cmdString], shell=False, close_fds=True, env=env_copy) proc.communicate() return proc.returncode #