delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/14/12:57:54

X-Recipient: archive-cygwin AT delorie DOT 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 DOT Hall AT servicepower DOT com
X-Msg-Ref: server-12.tower-58.messagelabs.com!1231955822!136944866!1
X-StarScan-Version: 6.0.0; banners=-,-,-
MIME-Version: 1.0
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 DOT Hall AT servicepower DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 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 DOT hall AT ServicePower DOT 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/


- Raw text -


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