aCommand.sprintf( " %s %s%s", aFile.c_str(), aTmpDir.c_str(), aFileName.c_str() );
aCommand = QDir::convertSeparators( aCommand );
aCommand.prepend( COPY_COMMAND );
-
- printf( "VISU_Gen_i::Save %s\n", aCommand.latin1() );
+
if(system(aCommand.latin1())){
INFOS("VISU_Gen_i::Save - Cann't execute the command :"<<aCommand);
continue;
aCommand = QDir::convertSeparators( aCommand );
aCommand.prepend( COPY_COMMAND );
- printf( "VISU_Gen_i::SaveASCII %s \n", aCommand.latin1() );
if(system(aCommand.latin1())){
if(MYDEBUG) MESSAGE("VISU_Gen_i::Save - Can't execute the command :"<<aCommand);
continue;
aCommand = QDir::convertSeparators( aCommand );
aCommand.prepend( COPY_COMMAND );
- printf( " VISU_Gen_i::CopyFrom: %s\n", aCommand.latin1() );
if(system(aCommand.latin1()) == -1) {
if(MYDEBUG) MESSAGE("VISU_Gen_i::Copy - Cann't execute the command :"<<aCommand);
return NULL;
aCommand = QDir::convertSeparators( aCommand );
aCommand.prepend( COPY_COMMAND );
- printf( " VISU::Result_i::Create %s \n", aCommand.latin1() );
-
if(system(aCommand.latin1()) == -1){
MESSAGE("Create - Can't execute the command :"<<aCommand);
return NULL;
aCommand.sprintf(" %s %s%s",aHDFFileName, aResultPath, myFileInfo.baseName().latin1());
aCommand = QDir::convertSeparators( aCommand );
aCommand.prepend( MOVE_COMMAND );
- printf ( "VISU::Result_i::Restore %s\n", aCommand.latin1() );
+
if (system(aCommand.latin1()) == -1) {
if(MYDEBUG) MESSAGE("VISU::Result_i::Restore - Can't execute the command :" << aCommand);
return NULL;
aCommand.sprintf(" %s %s\0",aHDFFileName, myFileInfo.filePath().latin1());
aCommand = QDir::convertSeparators( aCommand );
aCommand.prepend( MOVE_COMMAND );
- printf ( "VISU::Result_i::Restore %s\n", aCommand.latin1() );
- if (system(aCommand.latin1()) == -1) {
+
+ if (system(aCommand.latin1()) == -1) {
if(MYDEBUG) MESSAGE("VISU::Result_i::Restore - Can't execute the command :" << aCommand);
return NULL;
} else {