diff --git a/src/postProcessing/functionObjects/systemCall/systemCall.C b/src/postProcessing/functionObjects/systemCall/systemCall.C index 664589750cf6665fe77ea6f12ec3440e4d4f81b4..0a9d825644477bd4f391aa04b35c31fa10f50575 100644 --- a/src/postProcessing/functionObjects/systemCall/systemCall.C +++ b/src/postProcessing/functionObjects/systemCall/systemCall.C @@ -102,7 +102,7 @@ void Foam::systemCall::execute() { forAll(executeCalls_, callI) { - Foam::system(executeCalls_[callI].c_str()); + Foam::system(executeCalls_[callI]); } } @@ -111,7 +111,7 @@ void Foam::systemCall::end() { forAll(endCalls_, callI) { - Foam::system(endCalls_[callI].c_str()); + Foam::system(endCalls_[callI]); } } @@ -120,7 +120,7 @@ void Foam::systemCall::write() { forAll(writeCalls_, callI) { - Foam::system(writeCalls_[callI].c_str()); + Foam::system(writeCalls_[callI]); } }