Subject: Re: Real vfork() (was: third results)
To: None <Sean.Witham@asa.co.uk, thorpej@nas.nasa.gov>
From: Wolfgang Solfrank <ws@tools.de>
List: tech-kern
Date: 04/10/1998 18:30:30
>  > If we are to have vfork there should some comments about its problems
>  > and maybe a note in the man pages BUGS section suggesting the
>  > implmentation of forkexec().
> 
> I don't think so, no... for a few reasons:
> 
> 	(1) No other UNIX-like system has that.
> 
> 	(2) vfork(2) is actually documented in a standard now.
> 
> 	(3) vfork(2) is an "expected" interface for this sort of thing.
> 
> 	(4) It makes decoding the error in the parent slightly more
> 	    difficult.

	(5) General handling of forkexec() would require quite a complicated
	    interface.  Think about file handling (esp. pipes), signal
	    handling etc.
-- 
ws@TooLs.DE     (Wolfgang Solfrank, TooLs GmbH) 	+49-228-985800