Compare commits
1 Commits
905d39c07b
...
19f8f522b3
| Author | SHA1 | Date | |
|---|---|---|---|
| 19f8f522b3 |
@@ -209,7 +209,7 @@ void PIProcess::startProc(bool detached) {
|
||||
piMinSleep();
|
||||
// cout << "wait" << endl;
|
||||
if (!detached) {
|
||||
wait(&exit_code);
|
||||
waitpid(pid_, &exit_code, 0);
|
||||
pid_ = 0;
|
||||
if (!detached) PRIVATE->pid = pid_;
|
||||
// cout << "wait done" << endl;
|
||||
|
||||
Reference in New Issue
Block a user