Re: start and stop a program by make

"Martin Mensch" <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <7E7696009C5B443A9990D09C8A12E441@MartinPC3>
Hello,

I received an email on my posting, I thought it would automatically be in the thread, but it isn't.
So here is the contents of this email (I left the name out, maybe the writer wants to be anonymous)

#####

Get help on the start command by using the command: start /?

Mind you, it's rather a contortion of make to start things and not finish them.
(I'd be curious what you're up to).

That said...

This might work ...
my_rule:
    start "" program1.exe arg1 arg2
    start "" program2.exe arg1 arg2

If the above doesn't work you might try either this...
my_rule:
    start "" cmd /c program1.exe arg1 arg2
    start "" cmd /c program2.exe arg1 arg2

or this...
my_rule:
    cmd /c start "" program1.exe arg1 arg2
    cmd /c start "" program2.exe arg1 arg2

Good luck,

#####

_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.