Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSTaskMBS class.
NSTaskMBS.currentDirectoryPath as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write property)
NSTaskMBS.isRunning as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
NSTaskMBS.launchPath as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read and Write property)
Some examples using this property:
NSTaskMBS.processIdentifier as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
(Read only property)
NSTaskMBS.qualityOfService as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
read-only after the task is launched.
(Read and Write property)
NSTaskMBS.terminationReason as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Available in Mac OS X v10.6 and later.
see this constants:
NSTaskTerminationReasonExit | = 1 | The task exited normally. |
NSTaskTerminationReasonUncaughtSignal | = 2 | The task exited due to an uncaught signal. |
Some examples using this property:
NSTaskMBS.terminationStatus as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Cocoa Tasks | MBS MacCocoa Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
The exit status returned by the receiver's executable.
Each task defines and documents how its return value should be interpreted. For example, many commands return 0 if they complete successfully or an error code if they don't. You'll need to look at the documentation for that task to learn what values it returns under what circumstances.
This method raises an NSInvalidArgumentException if the receiver is still running. Verify that the receiver is not running before you use it.
(Read only property)
Some examples using this property:
The items on this page are in the following plugins: MBS MacCocoa Plugin.