-
Notifications
You must be signed in to change notification settings - Fork 37
/
DTRunManager.h
36 lines (26 loc) · 985 Bytes
/
DTRunManager.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) 2007-2010 Decimus Software, Inc. All rights reserved.
@interface DTRunManager : NSObject {
NSString* workingDirectory;
NSArray* selectedURLStrings;
NSString* command;
NSTextStorage* resultsStorage;
NSAttributedString* trailingWhitespace;
NSMutableData* unprocessedResultsData;
NSMutableDictionary* currentAttributes;
NSUInteger cursorLoc;
NSTask* task;
NSFileHandle* stdOut;
NSFileHandle* stdErr;
}
@property (assign) NSString* workingDirectory;
@property (assign) NSArray* selectedURLStrings;
@property (readonly) NSString* command;
@property (readonly) NSTextStorage* resultsStorage;
- (void)setDisplayFont:(NSFont*)font;
- (void)setDisplayColor:(NSColor*)color;
@property (readonly, assign) NSTask* task;
+ (NSString*)shellPath;
+ (NSArray*)argumentsToRunCommand:(NSString*)command;
- (id)initWithWD:(NSString*)_wd selection:(NSArray*)_selection command:(NSString*)_command demoExpired:(BOOL)demoExpired;
- (IBAction)cancel:(id)sender;
@end