WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIProcess
| IID: | 9da0b650-d07e-4617-a18a-250035572ac8 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Properties
readonly PRInt32 exitValue
readonly nsIFile location
readonly PRUint32 pid
readonly char* processName
readonly PRUint32 processSignature
Methods
void init ( nsIFile executable )
void initWithPid ( PRUint32 pid )
void kill ( )
PRUint32 run ( PRBool blocking , arrayof char* args , PRUint32 count )
void init ( nsIFile executable )
- Arguments:
- executable
PRUint32 run ( PRBool blocking , arrayof char* args , PRUint32 count )
Executes the file this object was initialized with
- Arguments:
- blocking: Whether to wait until the process terminates before returning or not
- args: An array of arguments to pass to the process
- count: The length of the args array
Reference documentation is generated from Mozilla's source.
