187309 r=dougt sr=bzbarsky convert out param of nsIProcess::Run to a return value

git-svn-id: svn://10.0.0.236/trunk@135791 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2003-01-02 21:00:31 +00:00
parent 8a064f3f42
commit fdf19ebdf9
2 changed files with 7 additions and 3 deletions

View File

@@ -11,7 +11,12 @@ interface nsIProcess : nsISupports
void kill();
/** XXX what charset? **/
void run(in boolean blocking, [array, size_is(count)] in string args, in unsigned long count, out unsigned long pid);
/** Executes the file this object was initialized with
* @param blocking Whether to wait until the process terminates before returning or not
* @param args An array of arguments to pass to the process
* @param count The length of the args array
* @return the PID of the newly spawned process */
unsigned long run(in boolean blocking, [array, size_is(count)] in string args, in unsigned long count);
readonly attribute nsIFile location;
readonly attribute unsigned long pid;