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 To: cygwin AT cygwin DOT com From: Eric Hanchrow Subject: Re: bash script doesn't wait for commands to complete -- me too Date: Fri, 10 Sep 2004 07:56:13 -0700 Lines: 27 Message-ID: <87eklafa0i.fsf@offby1.atm01.sea.blarg.net> References: <753F1E41ACB9D51190C00090277218D80171EE2B AT WWMESSD206> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: offby1.atm01.sea.blarg.net User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) X-IsSubscribed: yes >>>>> "Dolton" == Dolton Tony AB writes: >> >> So, if you are starting more than around 62 subprocesses then >> things probably won't work right. >> >> cgf Dolton> Thanks for that. However, although the problem occurs Dolton> most frequently with more subprocesses, I occasionally see Dolton> it with as few as 2 subprocesses, so I don't think the Dolton> limit is coming into play. I haven't tried more than 50 Dolton> subprocesses, as I knew there was a hard limit Tony I've seen similar behavior in my .bash_profile -- one of the last things it does is invoke "keychain", which almost always winds up running in the background. It's true that my .bash_profile starts a large number of processes, but I don't start any of them in the background intentionally -- that is, none of the commands in .bash_profile nor .bashrc end with a single `&'. I've also occasionally seen commands that I've started by hand at the command line execute as if they were in the background. I've never been able to come up with a simple reliable recipe to reproduce the problem, though. -- If you can't change your underwear, can you be sure you have any? -- 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/