delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/28/09:23:01

X-Spam-Check-By: sourceware.org
X-VirusChecked: Checked
X-Env-Sender: nvalster AT motorola DOT com
X-Msg-Ref: server-5.tower-125.messagelabs.com!1148822415!12521788!1
X-StarScan-Version: 5.5.9.1; banners=-,-,-
MIME-Version: 1.0
Subject: multiple commands on a single line seem to run in the background automatically
Date: Sun, 28 May 2006 14:19:02 +0100
Message-ID: <7CFBCCAA27B7934C9307AB098F728A53539BFD@zuk35exm61.ds.mot.com>
From: "Valster Nico-anv009" <nvalster AT motorola DOT com>
To: <cygwin AT cygwin DOT com>
X-White-List-Member: TRUE
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k4SDMw1Y009892

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
.....
it does not work as expected. The ..... symbolizes the parameters which
are in both cases the same and are not relevant for the problem (I
think)

In the first scenario, the prompt does not reappear till the script is
completed (this may be several minutes).
In the second scenario, the prompt returns much earlier but I also get
compilation errors. If I check the Windows taskmanager, then the
Microsoft compiler is still consuming close to 100% of the processor,
but it will end in due time.

Why does in the 2nd scenario the Microsoft compiler runs in the
background (at least that is my idea what is happening) while the 1st
scenario behaves as I expect/want?

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019