This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Exim at startup
At 03:21 AM 4/19/2003 +0000, Luciano wrote:
>>>But if I call it from pure DOS, command line, Run or other
>>>methods, like Tcl exec or PHP `exim`, Exim is launched and keeps
>>>this useless DOS console hanging about. Does anyone know how I
>>>can get rid of it?
>>
>> Try sh -c "exim -bd"
>
>Yes, it works. You rule!
>Do you know why it works with sh and not with bash?
Try bash -c "exim -bd; true"
Hints: + exim doesn't go in the background if its pid is 1
+ bash optimizes to avoid vforks
Pierre
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/