From 965e5453d70a571faf5974c59a2eca99f8b509fb Mon Sep 17 00:00:00 2001 From: prascle Date: Wed, 8 Oct 2008 15:19:06 +0000 Subject: [PATCH] PR: This one must no be used very often... --- src/Container/SALOME_ContainerManager.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 2bdf12e33..81555344c 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -272,7 +272,7 @@ StartContainer(const Engines::MachineParameters& params, else command = BuildCommandToLaunchRemoteContainer(theMachine,params,id,container_exe); - RmTmpFile(); + // RmTmpFile(); Too early! May be this function has not been used for a long time... //check if an entry exists in Naming service if(params.isMPI) @@ -307,6 +307,9 @@ StartContainer(const Engines::MachineParameters& params, // launch container with a system call int status=system(command.c_str()); + + RmTmpFile(); // command file can be removed here, but directory still remains... + if (status == -1){ MESSAGE("SALOME_LifeCycleCORBA::StartOrFindContainer rsh failed " << "(system command status -1)"); -- 2.39.2