<<< Date Index >>>     <<< Thread Index >>>

Re: problem with external programs



On Sat, 21 Aug 2004, F. Heitkamp wrote:

> In more detail one of the changes I made is that I have changed
> mutt_system a bit to:
>
>      err_ret = execl (EXECSHELL, "sh", "-c", cmd, NULL);

But outside that, mutt's already forked.  So (while the exec'd process
is racing to startup), mutt already has a head start and can remove the
temporary file before the process opens it.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net