This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: A question about cygstart


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]