]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdExecSystemCommand.cxx
no message
[bbtk.git] / packages / std / src / bbstdExecSystemCommand.cxx
index 3c321754c0b26047794c4c04908f498be1b2ec4a..27f8559eb40a9737c0c8dbe7244d347cca013352 100755 (executable)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbstdExecSystemCommand.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/05/14 14:43:38 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2011/07/05 19:19:01 $
+  Version:   $Revision: 1.9 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -72,6 +72,9 @@ namespace bbstd
                  ccommand[i]=34;
         }
      }
+#if defined(_WIN32)
+       command="start /b "+command;
+#endif // defined(_WIN32)      
        std::cout << "*** Executing system command : '"<<ccommand<<"'"<<std::endl;
        system ( ccommand.c_str() );
        pos1=pos2+1;