> we're not going to deprecate the nsIFile::Spawn then spawn in this
> context might be confusing.  How's about execute?  That's what a script
> writer would use in XPInstall.

I've never understood why the break in convention by naming it spawn.
exec() is what i could be called right?

Also, is there any way to get standard output back to the caller?

So if i spawn say a cvs session or what ever, it would be nice if i can
get that standard output back to display in the UI.

PHP has a nifty thing called passthru which will execute a process and
wait for it to finish and then resume w/ script execution. But i can get
the stdout from the forked process which is real useful.

--------------------------------------------------------------
passthru --  Execute an external program and display raw output 
void passthru (string command [, int return_var])


--pete

Reply via email to