Re: closing extra fd's in gnome_execute_*

On Mon, Jan 11, 1999 at 08:59:20AM -0500, Elliot Lee wrote:
> The issue is not really gnome_execute_*(). It is Manish trying to do bad,
> non-scalable hacks to work around bad bash brokenness ;-)

no ... he's trying to fix bad gnome_execute_* assumptions ... there
is absolutely no reason that most things you ou exec should use other
fd's, or expect other fd's open ... there are other problem then bash
openness that are a problem, ... such as leaking fd's if the process
stays up longer then the parent has the fdopen .... and not being able
to reclaim space ... since the child will have that file open ... even
though it doesn't care about it .... not closing the fd's is broken
behaviour .... if you really need to open fd's, you can use the with_fd
functions manish provided ...


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]