Differences From Artifact [a96b274fb8]:
- File
src/OFProcess.h
— part of check-in
[02ab9aa8a9]
at
2011-10-05 23:26:08
on branch trunk
— Add OFProcess.
Win32 implementation following later. (user: js, size: 1413) [annotate] [blame] [check-ins using]
To Artifact [32c2fe9e1e]:
- File src/OFProcess.h — part of check-in [20ba008347] at 2011-10-06 00:10:17 on branch trunk — OFProcess: Make sure that we don't leave zombies behind. (user: js, size: 1462) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #import "OFStream.h" /** * \brief A class for stream-like communication with a newly created process. */ @interface OFProcess: OFStream { int readPipe[2], writePipe[2]; BOOL atEndOfStream; } /** * \brief Creates a new OFProcess with the specified program, program name and * arguments and invokes the program. * | > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #include <sys/types.h> #import "OFStream.h" /** * \brief A class for stream-like communication with a newly created process. */ @interface OFProcess: OFStream { pid_t pid; int readPipe[2], writePipe[2]; int status; BOOL atEndOfStream; } /** * \brief Creates a new OFProcess with the specified program, program name and * arguments and invokes the program. * |
︙ | ︙ |