Re: Open a shell and run a batchfile

2005-08-15 Thread Frank Schaare
thank you for the input guys.I´m gonna check it out right now... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Open a shell and run a batchfile

2005-08-15 Thread Frank W. Zammetti
Even better! I hadn't seen that. One suggestion... adding spawn="true" to the exec tag should cause the script to continue even while the spawned window has not been closed... yep, just tried it, at least on XP that's the case. Frank On Mon, August 15, 2005 1:57 am, Ruchira Amarasinghe said: >

RE: Open a shell and run a batchfile

2005-08-15 Thread Dick, Brian E.
I assume you tried the "spawn" and "vmlauncher" attributes of the "exec" task. -Original Message- From: Frank Schaare [mailto:[EMAIL PROTECTED] Sent: Sunday, August 14, 2005 5:21 PM To: Ant Users List Subject: Open a shell and run a batchfile Hi, i´d like to automate some tasks under W

Re: Open a shell and run a batchfile

2005-08-14 Thread Ruchira Amarasinghe
Hi Frank, My suggestion to a similar question "How to exec a command in a new window?" is : http://mail-archives.apache.org/mod_mbox/ant-user/200207.mbox/[EMAIL PROTECTED] quoting the above: Try something like, The 'start' opens a new window. But ant won't exit u

Re: Open a shell and run a batchfile

2005-08-14 Thread Frank W. Zammetti
Ah, sorry about that, I must have been half asleep... for some reason I thought you were asking to list a directory, now I see you want to run an arbitrary batch file. Sorry, my bad. However, I think what I posted still works just the same... just alter what's in test.vbs to execute, instead

Re: Open a shell and run a batchfile

2005-08-14 Thread Frank W. Zammetti
Hi Frank (from one Frank to another!), I don't see any way to do that directly from Ant, but maybe someone else does. Assuming there is no easy answer, here's one round-about way to pull it off... Ant script: And test.vbs is: dirToList = "c:\" Se