Readonly
exitReadonly
isReturns whether the process is currently running or not.
When set to true the process will be launched directly without using the shell. This currently affects only the Windows platform.
Readonly
pidThe process identifier of the currently running process. This will only be available after the process has started and may not be available on some platforms.
When set to true the process will not open a new window when started and will run hidden from the user. This currently affects only the Windows platform.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Executes the file this object was initialized with
Whether to wait until the process terminates before returning or not.
An array of arguments to pass to the process in the native character set.
The length of the args array.
Executes the file this object was initialized with optionally calling an observer after the process has finished running.
An array of arguments to pass to the process in the native character set.
The length of the args array.
An observer to notify when the process has completed. It will receive this process instance as the subject and "process-finished" or "process-failed" as the topic. The observer will be notified on the main thread.
Whether to use a weak reference to hold the observer.
Executes the file this object was initialized with
Whether to wait until the process terminates before returning or not.
An array of arguments to pass to the process in UTF-16
The length of the args array.
Executes the file this object was initialized with optionally calling an observer after the process has finished running.
An array of arguments to pass to the process in UTF-16
The length of the args array.
An observer to notify when the process has completed. It will receive this process instance as the subject and "process-finished" or "process-failed" as the topic. The observer will be notified on the main thread.
Whether to use a weak reference to hold the observer.
Generated using TypeDoc
The exit value of the process. This is only valid after the process has exited.