X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: multiple commands on a single line seem to run in the background automatically Date: Sun, 28 May 2006 20:05:24 +0100 Message-ID: <7CFBCCAA27B7934C9307AB098F728A53539C13@zuk35exm61.ds.mot.com> From: "Valster Nico-anv009" To: "Bob Rossi" , X-White-List-Member: TRUE X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4SJ697s014351 Nico Valster Software Engineer Advanced Multimode Platform Mobile Devices Business Motorola B.V. Marconibaan 57 3439 MR Nieuwegein P.O. Box 754 3430 AT Nieuwegein The Netherlands Email : nvalster AT motorola DOT com Phone : +31 (0)30 6001642 Fax : +31 (0)30 6001660 > -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf > Of Bob Rossi > Sent: Sunday, May 28, 2006 6:36 PM > To: cygwin AT cygwin DOT com > Subject: Re: multiple commands on a single line seem to run in the > background automatically > > On Sun, May 28, 2006 at 02:19:02PM +0100, Valster Nico-anv009 wrote: > > I'm working on a bash script to automate the build process. The script > > calls, depending on the parameters the Microsoft VC6 compiler and/or the > > GreenHills compiler and/or the Cygwin GCC for one or more > > project/makefiles. > > If I invoke the script like: > > c:/bat/sbuild ...... > > things work pretty well. However if I invoke it as > > cd /cygdrive/d/CCase/anv009_SPRINT_8/SPRINT_VOB/SPRINT;c:/bat/sbuild > > ..... > > Is it possible you forgot to add the new line escape characther? > Try: > cd /cygdrive/d/CCase/anv009_SPRINT_8/SPRINT_VOB/SPRINT;c:/bat/sbuild > \ > ..... > > Bob Rossi > I'm not sure I understand your answer correctly. I type everything as one single line, no new lines except at the very end, so the command line easily exceeds 80 characters. However your answer made me think about command line length, so I started to experiment with shorter lines, i.e. less parameters and shorter words as parameters. No problems showed up anymore. To make sure, I reran the exact same command as failed before by getting it via the history command (to exclude all possibilities of typos either the first time or at the rerun). Again no problem. Since I ran into the stated problem multiple times but as far as I recall, only at the end of a working day (since this is a kind of bootlegged project), I start to think that something gets goofed up in (supposedly) the windows machinery during my daily activities which bytes Cygwin. If the problem shows up again, I'll test this theory be rebooting. Nico Valster -- 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/