20#ifndef __STDC_LIMIT_MACROS
21# define __STDC_LIMIT_MACROS
23#ifndef __STDC_CONSTANT_MACROS
24# define __STDC_CONSTANT_MACROS
27#include "objfw-defs.h"
29#ifdef OF_HAVE_SYS_TYPES_H
30# include <sys/types.h>
34#import "OFKernelEventObserver.h"
41OF_ASSUME_NONNULL_BEGIN
43@class OFArray OF_GENERIC(ObjectType);
51OF_SUBCLASSING_RESTRICTED
59 int _readPipe[2], _writePipe[2];
61 HANDLE _handle, _readPipe[2], _writePipe[2];
75+ (instancetype)subprocessWithProgram: (
OFString *)program;
87 subprocessWithProgram: (
OFString *)program
102 subprocessWithProgram: (
OFString *)program
103 programName: (
OFString *)programName
123 subprocessWithProgram: (
OFString *)program
124 programName: (
OFString *)programName
129- (instancetype)init OF_UNAVAILABLE;
139- (instancetype)initWithProgram: (
OFString *)program;
151 initWithProgram: (
OFString *)program
166 initWithProgram: (
OFString *)program
167 programName: (
OFString *)programName
188 initWithProgram: (
OFString *)program
189 programName: (
OFString *)programName
193 OF_DESIGNATED_INITIALIZER;
204- (void)closeForWriting;
215- (int)waitForTermination;
An abstract class for storing objects in an array.
Definition OFArray.h:109
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:84
A base class for different types of streams.
Definition OFStream.h:280
A class for handling strings.
Definition OFString.h:143
A class for stream-like communication with a newly created subprocess.
Definition OFSubprocess.h:53
This protocol is implemented by classes which can be observed for readiness for reading by OFKernelEv...
Definition OFKernelEventObserver.h:83
This protocol is implemented by classes which can be observed for readiness for writing by OFKernelEv...
Definition OFKernelEventObserver.h:97