]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
bug fix for jobs command with multple users
authorSPN Salome - CEA <support-salome@cea.fr>
Fri, 9 Jun 2017 08:56:35 +0000 (10:56 +0200)
committerSPN Salome - CEA <support-salome@cea.fr>
Fri, 9 Jun 2017 08:56:35 +0000 (10:56 +0200)
commands/jobs.py

index ce60bba21f6a67987d6e87b3afc10ec119a0910d..6c1f39cee6c8423d4d5205a5dccee47015e45117 100644 (file)
@@ -835,11 +835,12 @@ class Jobs(object):
 
                 # set the local settings of sat on the remote machine using
                 # the init command
-                (__, __, __) = machine.exec_command(
+                (__, out_dist, __) = machine.exec_command(
                                 os.path.join(machine.sat_path,
-                                    ("sat init --base unknown --workdir unknown"
-                                     " --log_dir unknown")),
+                                    "sat init --base unknown --workdir"
+                                    " unknown --log_dir unknown"),
                                 self.logger)
+                out_dist.read()    
                 
                 # get the remote machine distribution using a sat command
                 (__, out_dist, __) = machine.exec_command(