git-svn-id: svn://db.shs.com.ru/pip@699 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-06 20:20:23 +00:00
parent b31352ffb1
commit b2c76a0e1b
14 changed files with 41 additions and 39 deletions

View File

@@ -66,7 +66,7 @@ void PIProcess::exec_() {
startOnce();
//cout << "exec wait" << endl;
while (!is_exec)
msleep(1);
msleep(PIP_MIN_MSLEEP);
//cout << "exec end" << endl;
}
@@ -186,7 +186,7 @@ void PIProcess::startProc(bool detached) {
if (execve(str.data(), a, e) < 0)
piCoutObj << "\"execve" << str << args << "\" error :" << errorString();
} else {
msleep(1);
msleep(PIP_MIN_MSLEEP);
//cout << "wait" << endl;
if (!detached) {
wait(&exit_code);