24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#endif
#import "OFProcess.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFInitializationFailedException.h"
#import "OFReadFailedException.h"
#import "OFWriteFailedException.h"
#ifdef _WIN32
# include <windows.h>
#endif
|
>
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#endif
#import "OFProcess.h"
#import "OFString.h"
#import "OFArray.h"
#import "OFInitializationFailedException.h"
#import "OFNotImplementedException.h"
#import "OFReadFailedException.h"
#import "OFWriteFailedException.h"
#ifdef _WIN32
# include <windows.h>
#endif
|
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
|
return readPipe[0];
#else
@throw [OFNotImplementedException exceptionWithClass: [self class]
selector: _cmd];
#endif
}
- (int)fileDescriptorForWRiting
{
#ifndef _WIN32
return writePipe[1];
#else
@throw [OFNotImplementedException exceptionWithClass: [self class]
selector: _cmd];
#endif
|
|
|
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
|
return readPipe[0];
#else
@throw [OFNotImplementedException exceptionWithClass: [self class]
selector: _cmd];
#endif
}
- (int)fileDescriptorForWriting
{
#ifndef _WIN32
return writePipe[1];
#else
@throw [OFNotImplementedException exceptionWithClass: [self class]
selector: _cmd];
#endif
|