X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 	tests=AWL,BAYES_20
X-Spam-Check-By: sourceware.org
X-VirusChecked: Checked
X-Env-Sender: A.Hall@servicepower.com
X-Msg-Ref: server-12.tower-58.messagelabs.com!1231955822!136944866!1
X-StarScan-Version: 6.0.0; banners=-,-,-
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Subject: A question about cygstart
Date: Wed, 14 Jan 2009 12:56:58 -0500
Message-ID: <0FF3B6512477714C939F9B6310F6F97A02A92610@loui-dc1.sp.servicepower.com>
From: "Andy Hall" <A.Hall@servicepower.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id n0EHvq2d017550

I have build scripts for .NET and .NET CF apps, that require Visual Studio to be running in order for the build to complete.   Because these builds all run in the background I would like to start Visual Studio minimized so that it does not interfere with other activities while the build is running.

I start Visual Studio in the scripts as follows. 

cygstart --showminimized   "/cygdrive/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/devenv.exe" /edit

If Visual Studio is not ruining, Visual Studio will start minimized.   However, if Visual Studio is already running, a subsequent invocation of the same command will bring up the window maximized. 

No combination of options to cygstart seems to overcome this.   What other approaches are available. 



Andy Hall
ServicePower, Inc.
744 San Antonio Road
Phone: (650) 739-0988
E-Mail: a.hall@ServicePower.com


--
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/


