| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <lucianoav AT gmx DOT net>, cygwin AT cygwin DOT com |
| From: | "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org> |
| Subject: | Re: Exim at startup |
| In-Reply-To: | <Xns93623ED8C040lucianoavgmxnet@80.91.224.249> |
| References: | <Xns9361C9F8A9B75lucianoavgmxnet AT 80 DOT 91 DOT 224 DOT 249> |
| <3 DOT 0 DOT 5 DOT 32 DOT 20030418193931 DOT 007fd8e0 AT incoming DOT verizon DOT net> | |
| Mime-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |