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=-,-,- 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" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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/