mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Foam::system command swallows first argument (fixes #901)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user