16 #ifndef __STDC_LIMIT_MACROS
17 # define __STDC_LIMIT_MACROS
19 #ifndef __STDC_CONSTANT_MACROS
20 # define __STDC_CONSTANT_MACROS
23 #include "objfw-defs.h"
25 #ifdef OF_HAVE_SYS_TYPES_H
26 # include <sys/types.h>
30 #import "OFKernelEventObserver.h"
37 OF_ASSUME_NONNULL_BEGIN
39 @class OFArray OF_GENERIC(ObjectType);
47 OF_SUBCLASSING_RESTRICTED
55 int _readPipe[2], _writePipe[2];
57 HANDLE _process, _readPipe[2], _writePipe[2];
71 + (instancetype)processWithProgram: (
OFString *)program;
83 processWithProgram: (
OFString *)program
98 processWithProgram: (
OFString *)program
119 processWithProgram: (
OFString *)program
120 programName: (
OFString *)programName
125 - (instancetype)init OF_UNAVAILABLE;
135 - (instancetype)initWithProgram: (
OFString *)program;
147 initWithProgram: (
OFString *)program
162 initWithProgram: (
OFString *)program
163 programName: (
OFString *)programName
183 initWithProgram: (
OFString *)program
184 programName: (
OFString *)programName
188 OF_DESIGNATED_INITIALIZER;
197 - (void)closeForWriting;
204 - (int)waitForTermination;
207 OF_ASSUME_NONNULL_END
An abstract class for storing objects in an array.
Definition: OFArray.h:92
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:58
A class for stream-like communication with a newly created process.
Definition: OFProcess.h:49
A base class for different types of streams.
Definition: OFStream.h:191
A class for handling strings.
Definition: OFString.h:132
This protocol is implemented by classes which can be observed for readiness for reading by OFKernelEv...
Definition: OFKernelEventObserver.h:85
This protocol is implemented by classes which can be observed for readiness for writing by OFKernelEv...
Definition: OFKernelEventObserver.h:100