Compare commits
2 Commits
905d39c07b
...
19daab173c
| Author | SHA1 | Date | |
|---|---|---|---|
| 19daab173c | |||
| 19f8f522b3 |
@@ -6,7 +6,7 @@ endif()
|
|||||||
project(PIP)
|
project(PIP)
|
||||||
set(PIP_MAJOR 4)
|
set(PIP_MAJOR 4)
|
||||||
set(PIP_MINOR 7)
|
set(PIP_MINOR 7)
|
||||||
set(PIP_REVISION 3)
|
set(PIP_REVISION 4)
|
||||||
set(PIP_SUFFIX )
|
set(PIP_SUFFIX )
|
||||||
set(PIP_COMPANY SHS)
|
set(PIP_COMPANY SHS)
|
||||||
set(PIP_DOMAIN org.SHS)
|
set(PIP_DOMAIN org.SHS)
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ void PIProcess::startProc(bool detached) {
|
|||||||
piMinSleep();
|
piMinSleep();
|
||||||
// cout << "wait" << endl;
|
// cout << "wait" << endl;
|
||||||
if (!detached) {
|
if (!detached) {
|
||||||
wait(&exit_code);
|
waitpid(pid_, &exit_code, 0);
|
||||||
pid_ = 0;
|
pid_ = 0;
|
||||||
if (!detached) PRIVATE->pid = pid_;
|
if (!detached) PRIVATE->pid = pid_;
|
||||||
// cout << "wait done" << endl;
|
// cout << "wait done" << endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user