BUG: Foam::system command swallows first argument (fixes #901)

This commit is contained in:
Mark Olesen
2018-06-22 15:18:41 +02:00
parent 6390c18381
commit c8fd217e95
6 changed files with 22 additions and 73 deletions

View File

@ -193,7 +193,7 @@ void writeRays
Pout<< "cmd: objToVTK " << fName.c_str() << endl;
stringList cmd{"objToVTK", fName, fName.lessExt().ext("vtk")};
stringList cmd({"objToVTK", fName, fName.lessExt().ext("vtk")});
Foam::system(cmd);
}