This commit is contained in:
2022-04-25 21:44:30 +03:00
5 changed files with 109 additions and 84 deletions

View File

@@ -202,7 +202,7 @@ void PIProcess::startProc(bool detached) {
#else
//cout << "exec " << tf_in << ", " << tf_out << ", " << tf_err << endl;
if (execve(str.data(), argscc, envcc) < 0)
if (execve(str.data(), (char * const *)argscc, (char * const *)envcc) < 0)
piCoutObj << "\"execve" << str << args << "\" error :" << errorString();
} else {
piMinSleep;