mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
command "rm -f" is replaced with a version "del /F" if WNT is defined (running on windows).
This commit is contained in:
parent
662ae2fe78
commit
ba7df26a44
@ -1261,7 +1261,12 @@ SALOMEDS::TMPFile* SMESH_Gen_i::Save( SALOMEDS::SComponent_ptr theComponent,
|
||||
|
||||
|
||||
//Remove the files if they exist: BugID: 11225
|
||||
#ifndef WNT /* unix functionality */
|
||||
TCollection_AsciiString cmd("rm -f \"");
|
||||
#else /* windows */
|
||||
TCollection_AsciiString cmd("del /F \"");
|
||||
#endif
|
||||
|
||||
cmd+=filename;
|
||||
cmd+="\" \"";
|
||||
cmd+=meshfile;
|
||||
|
Loading…
Reference in New Issue
Block a user