This is the mail archive of the
mailing list for the Cygwin project.
How to Start Multiple Windows Apps Using Cygwin
- From: "Yu, Lei" <yu dot lei dot sjtu at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Apr 2010 15:27:32 +0800
- Subject: How to Start Multiple Windows Apps Using Cygwin
- References: <firstname.lastname@example.org>
ÂÂÂ I want to create a windows batch file, which can
1. initialize and start multiple Windows -- such as my gtalk and my MSN
2. keep the applications running
3. let the batch file itself exit without any trace.
ÂÂÂ That is a bit difficult to achieve via normal windows batch file,
since batch does not provide a background running mode, so the whole
process will be blocked at the first application starts, and all the
subsequent application will not get called before the first exits.
ÂÂÂ And then I turned to Cygwin.Â Seems it could achieve task 1 and
task 2.Â However, it could not achieve task 3, which means that the
cygwin window will be kept open, until both (all) of the applications
get closed.Â So I wonder whether there is any possibility, to achieve
all the 3 tasks I want?Â And if yes, how?
ÂÂÂ Below is the batch file I've written, any comments are welcome.
rem @echo off
bash --login -c "/c/Program\ Files/Google/Google\ Talk/googletalk.exe
bash --login -c "/c/Program\ Files/Windows\ Live/Messenger/msnmsgr.exe &"
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple