This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: A question about cygstart
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>, 'Andy Hall' <A dot Hall at servicepower dot com>
- Date: Wed, 14 Jan 2009 18:25:23 -0500
- Subject: RE: A question about cygstart
- References: <0FF3B6512477714C939F9B6310F6F97A02A92610@loui-dc1.sp.servicepower.com>
Andy Hall wrote on Wednesday, January 14, 2009 12:57 PM:
> 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.
Does devenv.exe behave similarly when started from a shortcut without
cygstart?
Sounds like as it loads, devenv.exe may be looking for other instances
and then deciding what to do on its own. You might see if Visual Studio
has any options that can change that behavior.
- Barry
Disclaimer: Statements made herein are not made on behalf of NIAID.
--
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/