start cmd async

2001-10-28 Thread Ekkehard Gentz

I have sent this some days ago, but I've not seen it on the list, so I send
it again
---

under win2k I want to start a batchfile in a separate cmd.exe
I can do this with the exec task
but ant waits for executing this task
I want to do this async:
to start the command and NOT to wait and go on

how can I do this ?

Ekkehard Gentz
Softwareentwicklung

ff-eCommerce Software


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




start cmd async

2001-10-23 Thread Ekkehard Gentz

under win2k I want to start a batchfile in a separate cmd.exe
I can do this with the exec task
but ant waits for executing this task
I want to do this async:
to start the command and NOT to wait and go on

how can I do this ?

Ekkehard Gentz
Softwareentwicklung

ff-eCommerce Software



RE: start cmd async

2001-10-23 Thread Guan, Kelly

seems parallel tag can help you.  

-Original Message-
From: Ekkehard Gentz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 1:37 PM
To: [EMAIL PROTECTED]
Subject: start cmd async


under win2k I want to start a batchfile in a separate cmd.exe
I can do this with the exec task
but ant waits for executing this task
I want to do this async:
to start the command and NOT to wait and go on

how can I do this ?

Ekkehard Gentz
Softwareentwicklung

ff-eCommerce Software



Re: start cmd async on Windows 2000, ant exec task

2001-10-23 Thread Sean C. Sullivan


From: Ekkehard Gentz [EMAIL PROTECTED]
 under win2k I want to start a batchfile in a separate cmd.exe
 I can do this with the exec task
 but ant waits for executing this task
 I want to do this async:
 to start the command and NOT to wait and go on
 
 how can I do this ?

Have you tried using the START command in Windows 2000?

You could do something like this:

-RUNNER.BAT---
start %1 %2 %3 %4 %5 %6 %7 %8 %9
---

---PROG.BAT
prog.exe %1 %2 %3
--

Your exec would invoke RUNNER.BAT with the parameter
PROG.BAT

-Sean