35 lignes
1.0 KiB
Objective-C
35 lignes
1.0 KiB
Objective-C
@interface NSTask : NSObject
|
|
|
|
@property (copy) NSArray *arguments;
|
|
@property (copy) NSString *currentDirectoryPath;
|
|
@property (copy) NSDictionary *environment;
|
|
@property (copy) NSString *launchPath;
|
|
@property (readonly) int processIdentifier;
|
|
@property long long qualityOfService;
|
|
@property (getter=isRunning, readonly) bool running;
|
|
@property (retain) id standardError;
|
|
@property (retain) id standardInput;
|
|
@property (retain) id standardOutput;
|
|
@property (copy) id /* block */ terminationHandler;
|
|
@property (readonly) long long terminationReason;
|
|
@property (readonly) int terminationStatus;
|
|
|
|
+ (id)currentTaskDictionary;
|
|
+ (id)launchedTaskWithDictionary:(id)arg1;
|
|
+ (id)launchedTaskWithLaunchPath:(id)arg1 arguments:(id)arg2;
|
|
|
|
- (id)init;
|
|
- (void)interrupt;
|
|
- (bool)isRunning;
|
|
- (void)launch;
|
|
- (int)processIdentifier;
|
|
- (long long)qualityOfService;
|
|
- (bool)resume;
|
|
- (bool)suspend;
|
|
- (long long)suspendCount;
|
|
- (void)terminate;
|
|
- (id /* block */)terminationHandler;
|
|
- (long long)terminationReason;
|
|
- (int)terminationStatus;
|
|
|
|
@end |