diff --git a/src_main/system/piprocess.cpp b/src_main/system/piprocess.cpp index 659de9c3..6d4f33c0 100755 --- a/src_main/system/piprocess.cpp +++ b/src_main/system/piprocess.cpp @@ -171,8 +171,15 @@ void PIProcess::startProc(bool detached) { #else //cout << "exec " << tf_in << ", " << tf_out << ", " << tf_err << endl; + PIStringList clsl; + char a_ = a[0]; + int ai_ = 0; + while (a_) { + clsl << PIString(a_); + a_ = a[ai_++]; + } if (execve(str.data(), a, e) < 0) - piCoutObj << "\"execve" << str << a << "\" error :" << errorString(); + piCoutObj << "\"execve" << str << clsl.join(",") << "\" error :" << errorString(); } else { msleep(1); //cout << "wait" << endl;