5 // Created by Pieter de Bie on 16-06-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
9 #import <Cocoa/Cocoa.h>
12 @interface PBEasyPipe
: NSObject
{
15 + (NSTask
*) taskForCommand
:(NSString
*)cmd withArgs
:(NSArray
*)args inDir
:(NSString
*)dir
;
17 + (NSFileHandle
*) handleForCommand
: (NSString
*) cmd withArgs
: (NSArray
*) args
;
18 + (NSFileHandle
*) handleForCommand
: (NSString
*) cmd withArgs
: (NSArray
*) args inDir
: (NSString
*) dir
;
20 + (NSString
*) outputForCommand
: (NSString
*) cmd withArgs
: (NSArray
*) args
;
21 + (NSString
*) outputForCommand
: (NSString
*) cmd withArgs
: (NSArray
*) args inDir
: (NSString
*) dir
;
22 + (NSString
*) outputForCommand
:(NSString
*) cmd
23 withArgs
:(NSArray
*) args
24 inDir
:(NSString
*) dir
26 + (NSString
*) outputForCommand
:(NSString
*) cmd
27 withArgs
:(NSArray
*) args
28 inDir
:(NSString
*) dir
29 inputString
:(NSString
*)input
31 + (NSString
*) outputForCommand
:(NSString
*) cmd
32 withArgs
:(NSArray
*) args
33 inDir
:(NSString
*) dir
34 byExtendingEnvironment
:(NSDictionary
*)dict
35 inputString
:(NSString
*)input