Merge branch 'pu/pb/index_quick_fix' into stable
[GitX.git] / PBEasyPipe.h
blob84793eeb2bd389f18011b062f115f60b265364b6
1 //
2 // PBEasyPipe.h
3 // GitX
4 //
5 // Created by Pieter de Bie on 16-06-08.
6 // Copyright 2008 __MyCompanyName__. All rights reserved.
7 //
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
25 retValue:(int *) ret;
26 + (NSString*) outputForCommand:(NSString *) cmd
27 withArgs:(NSArray *) args
28 inDir:(NSString *) dir
29 inputString:(NSString *)input
30 retValue:(int *) ret;
31 + (NSString*) outputForCommand:(NSString *) cmd
32 withArgs:(NSArray *) args
33 inDir:(NSString *) dir
34 byExtendingEnvironment:(NSDictionary *)dict
35 inputString:(NSString *)input
36 retValue:(int *) ret;
39 @end