Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (23 sloc) 0.573 kb
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
1 //
2 // NTSynchronousTask.h
3 // CocoatechCore
4 //
5 // Created by Steve Gehrman on 9/29/05.
49e3d81 Major refactoring, yay.
andym authored
6 // Copyright 2005 Steve Gehrman. All rights reserved.
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
7 //
8
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
9 #ifndef NTSYNCHRONOUSTASK_H
10 #define NTSYNCHRONOUSTASK_H
5d44acb Finally got DMGs working properly on 10.5 through a somewhat less bri…
andym authored
11
12 @interface NTSynchronousTask : NSObject
13 {
14 NSTask *mv_task;
15 NSPipe *mv_outputPipe;
16 NSPipe *mv_inputPipe;
17
18 NSData* mv_output;
19 BOOL mv_done;
20 int mv_result;
21 }
22
23 // pass nil for directory if not needed
24 // returns the result
25 + (NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input;
26
27 @end
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
28
87f2893 Fixed warnings for missing newlines at the end of the file.
andym authored
29 #endif
Something went wrong with that request. Please try again.