[Jslib] Re: spawn (run) results in defunct processes

Pete Collins pete@mozdev.org
Tue, 18 Feb 2003 18:21:59 -0500


> Never mind.  The problem is that we have changed the backend of our 
> spawn functionality to workaround another problem.  Before calling 
> execv, STDOUT and STDERR are being be closed and reattached to 
> /dev/null.  Now we will have to revisit that solution to be able to get 
> an exit status.

Ok, glad you found it.

Please keep any problems you have coming. Mike has been a great help 
squashing jslib bugs.

One a side note, there has been progress reading binary files.

   http://bugzilla.mozilla.org/show_bug.cgi?id=170585

I have some more tweaks to make to the patch before full review. But 
there will be a new method available for reading binary streams.

   readBytes()

This will alow jslib consumers to read binary files.

I'll keep the list posted on progress.

--pete