Salome HOME
Bug fix in job command.
[tools/sat.git] / commands / job.py
index f27f7e733363ba4b6dde398d9517f092f75fa878..cca442d56c1d2d30f605bd032aa26b26a4237da2 100644 (file)
@@ -127,8 +127,7 @@ def run(args, runner, logger):
             end_cmd = " ".join(argus[1:])
         else:
             sat_command_name = "shell"
-            end_cmd = "--command " + command
-        
+            end_cmd = ["--command", command]
         # Do not change the options if no option was called in the command
         if not(specific_option):
             options = None