Salome HOME
- Fixes for BatchManager_Local
[tools/libbatch.git] / src / Local / BatchManager_Local.hxx
index 4946d6a6661ec32fde8b1f6770416e7615d54e1c..8058a3c148e697517b3d2730ddc9141c45691348 100644 (file)
@@ -92,6 +92,12 @@ namespace Batch {
       Process launchWin32ChildProcess();
 #endif
 
+      /**
+       * Create script to launch the remote command and copy it on the server.
+       * Return the path of the remote script.
+       */
+      std::string buildCommandFile(const Job_Local & job);
+
     };
 
     enum Commande {
@@ -143,9 +149,6 @@ namespace Batch {
     pthread_mutex_t _threads_mutex;
     std::map<Id, Child > _threads;
 
-    // Methode qui renvoie la commande a executer
-    std::vector<std::string> exec_command(const Parametre & param) const;
-
   private:
     static  void kill_child_on_exit(void * p_pid);
     static  void delete_on_exit(void * arg);