Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <3.0.5.32.20030419093255.007fd870@incoming.verizon.net> X-Sender: vze1u1tg AT incoming DOT verizon DOT net Date: Sat, 19 Apr 2003 09:32:55 -0400 To: Luciano , cygwin AT cygwin DOT com From: "Pierre A. Humblet" Subject: Re: Exim at startup In-Reply-To: References: <3 DOT 0 DOT 5 DOT 32 DOT 20030418193931 DOT 007fd8e0 AT incoming DOT verizon DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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/