Differences From Artifact [30416b7510]:
- File src/OFProcess.m — part of check-in [87b1318a27] at 2015-08-09 14:59:56 on branch trunk — OFProcess: Use vfork() instead of fork() (user: js, size: 14204) [annotate] [blame] [check-ins using]
To Artifact [dc696d6c83]:
- File
src/OFProcess.m
— part of check-in
[3ff339cf42]
at
2015-08-26 08:24:17
on branch trunk
— OFProcess: Send SIGTERM on close
SIGKILL was a little bit too much. (user: js, size: 14204) [annotate] [blame] [check-ins using] [more...]
| ︙ | ︙ | |||
564 565 566 567 568 569 570 |
#ifndef _WIN32
if (_readPipe[0] != -1)
close(_readPipe[0]);
if (_writePipe[1] != -1)
close(_writePipe[1]);
if (_pid != -1) {
| | | 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 |
#ifndef _WIN32
if (_readPipe[0] != -1)
close(_readPipe[0]);
if (_writePipe[1] != -1)
close(_writePipe[1]);
if (_pid != -1) {
kill(_pid, SIGTERM);
waitpid(_pid, &_status, WNOHANG);
}
_pid = -1;
_readPipe[0] = -1;
_writePipe[1] = -1;
#else
|
| ︙ | ︙ |