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:
@ -498,7 +498,7 @@ bool Foam::dynamicCode::copyOrCreateFiles(const bool verbose) const
|
||||
|
||||
bool Foam::dynamicCode::wmakeLibso() const
|
||||
{
|
||||
stringList cmd{"wmake", "-s", "libso", this->codePath()};
|
||||
stringList cmd({"wmake", "-s", "libso", this->codePath()});
|
||||
|
||||
// NOTE: could also resolve wmake command explicitly
|
||||
// cmd[0] = stringOps::expand("$WM_PROJECT_DIR/wmake/wmake");
|
||||
|
||||
Reference in New Issue
Block a user