Advertisement
Semiak

Use NSTask in iOS

Jun 16th, 2019
1,782
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * This header is generated by classdump-dyld 1.0
  3.  * on Thursday, January 25, 2018 at 11:20:38 PM Eastern European Standard Time
  4.  * Operating System: Version 11.1.2 (Build 15B202)
  5.  * Image Source: /System/Library/Frameworks/Foundation.framework/Foundation
  6.  * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
  7.  */
  8.  
  9.  
  10. #import <Foundation/Foundation.h>
  11. @class NSURL, NSArray, NSDictionary;
  12.  
  13. @interface NSTask : NSObject
  14.  
  15. @property (copy) NSURL * executableURL;
  16. @property (copy) NSArray * arguments;
  17. @property (copy) NSDictionary * environment;
  18. @property (copy) NSURL * currentDirectoryURL;
  19. @property (retain) id standardInput;
  20. @property (retain) id standardOutput;
  21. @property (retain) id standardError;
  22. @property (readonly) int processIdentifier;
  23. @property (getter=isRunning,readonly) BOOL running;
  24. @property (readonly) int terminationStatus;
  25. @property (readonly) long long terminationReason;
  26. @property (copy) id terminationHandler;
  27. @property (assign) long long qualityOfService;
  28. +(id)currentTaskDictionary;
  29. +(id)launchedTaskWithDictionary:(id)arg1 ;
  30. +(id)launchedTaskWithLaunchPath:(id)arg1 arguments:(id)arg2 ;
  31. +(id)launchedTaskWithExecutableURL:(id)arg1 arguments:(id)arg2 error:(out id*)arg3 terminationHandler:(/*^block*/id)arg4 ;
  32. +(id)allocWithZone:(NSZone*)arg1 ;
  33. -(void)waitUntilExit;
  34. -(NSURL *)executableURL;
  35. -(id)currentDirectoryPath;
  36. -(void)setArguments:(NSArray *)arg1 ;
  37. -(void)setCurrentDirectoryPath:(id)arg1 ;
  38. -(id)launchPath;
  39. -(void)setLaunchPath:(id)arg1 ;
  40. -(int)terminationStatus;
  41. -(long long)terminationReason;
  42. -(void)launch;
  43. -(BOOL)launchAndReturnError:(id*)arg1 ;
  44. -(void)setCurrentDirectoryURL:(NSURL *)arg1 ;
  45. -(NSURL *)currentDirectoryURL;
  46. -(void)setExecutableURL:(NSURL *)arg1 ;
  47. -(void)interrupt;
  48. -(long long)suspendCount;
  49. -(void)setStandardInput:(id)arg1 ;
  50. -(void)setStandardOutput:(id)arg1 ;
  51. -(void)setStandardError:(id)arg1 ;
  52. -(id)standardInput;
  53. -(id)standardOutput;
  54. -(id)standardError;
  55. -(id)init;
  56. -(NSDictionary *)environment;
  57. -(BOOL)isRunning;
  58. -(BOOL)suspend;
  59. -(BOOL)resume;
  60. -(void)setEnvironment:(NSDictionary *)arg1 ;
  61. -(void)setQualityOfService:(long long)arg1 ;
  62. -(void)setTerminationHandler:(id)arg1 ;
  63. -(int)processIdentifier;
  64. -(id)terminationHandler;
  65. -(long long)qualityOfService;
  66. -(void)terminate;
  67. -(NSArray *)arguments;
  68. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement