3.10.2013 - PIPeer release, PIConsole now can work as server and remote client. Remote console test program in directory "remote_console"
This commit is contained in:
@@ -141,12 +141,12 @@ void PIProcess::run() {
|
||||
WaitForSingleObject(pi.hProcess, INFINITE);
|
||||
CloseHandle(pi.hProcess);
|
||||
} else
|
||||
piCout << "[PIProcess] \"CreateProcess\" error, " << errorString();
|
||||
piCoutObj << "[PIProcess] \"CreateProcess\" error, " << errorString();
|
||||
#else
|
||||
|
||||
//cout << "exec " << tf_in << ", " << tf_out << ", " << tf_err << endl;
|
||||
if (execve(str.c_str(), a, e) < 0)
|
||||
piCout << "[PIProcess] \"execve\" error, " << errorString();
|
||||
piCoutObj << "[PIProcess] \"execve\" error, " << errorString();
|
||||
} else {
|
||||
msleep(1);
|
||||
//cout << "wait" << endl;
|
||||
|
||||
Reference in New Issue
Block a user