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 |
Date: | Thu, 2 May 2002 09:14:08 -0700 (Pacific Daylight Time) |
From: | Michael A Chase <mchase AT ix DOT netcom DOT com> |
Subject: | Re: Resource temporarily unavailable - bash fails but works with old versions |
To: | Satya Nemana <satya AT paramanet DOT com>, cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
References: | <9791A828507D5A418741095C3FD0DDE347E266 AT indus> |
In-Reply-To: | <9791A828507D5A418741095C3FD0DDE347E266@indus> |
Reply-To: | Michael A Chase <mchase AT ix DOT netcom DOT com> |
Message-Id: | <E173JDi-00042I-00@smtp10.atl.mindspring.net> |
On Thu, 2 May 2002 11:29:03 -0400 Satya Nemana <satya AT paramanet DOT com> wrote: > Sorry. Please ignore this as a false alarm. Here is an update. It does > not occur anymore even with my new cygwin path and got fixed as follows. > I could isolate this problem by getting rid of .profile which was same > as .bashrc. Thank you for letting us know. > It is a very complex script that has several commands as follows and > starts lots of applications using bash to run in different dos windows. > This runs several applications simultaneously during the start-up and > all these are running .bashrc and .profile at the same time. I guess > that's probably why this causes this resource unavailable problem, since > all these myapp-commands use cp, ls, chmod very frequently. > > + cmd /c start cmd /c bash -c 'cmd /c title myapp1; unset CYGENV;. > .bashrc; myapp1' > + cmd /c start cmd /c bash -c 'cmd /c title myapp2; unset CYGENV;. > .bashrc; myapp2' > + cmd /c start cmd /c bash -c 'cmd /c title myapp3; unset CYGENV;. > .bashrc; myapp3' That's a lot of cmd.exe calls there. 1. Have you tried using cygstart.exe instead of start? It's part of the cygutils package. 2. The 'title' option in %CYGWIN% may let you avoid the 'cmd /c title's. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |