Hello Steve,
My implementation does not depend on executable suffixes to work. On Windows, antRunAsync.bat runs: cscript //NoLogo antRunAsync.js args... . The antRunAsync.bat script isn't really necessary except that it provides a way the same command could be run on Windows and Unix using the same <exec> task.
-Bill
Steve Loughran wrote:
----- Original Message ----- From: "Bill Burton" <[EMAIL PROTECTED]> To: "Ant Developers List" <[EMAIL PROTECTED]> Sent: Wednesday, January 22, 2003 16:24 Subject: [SUBMIT] Support for detached <exec> on Unix and Windows
Hello,
For this support on Windows, I used JScript (JavaScript) in Windows Scripting Host, a scripting environment included with Windows 98/Me/2000/XP. For Windows 95/NT, WSH can be downloaded from Microsoft. This seemed to me the best solution as Ant doesn't distribute binaries of any kind and I didn't want to try and be the first to try and start.
hmm. I view binding *.js, *..vbs, *.wsh, *.wse, etc to notepad as step one of securing a system, so while I appreciate the effort, it wouldnt work on my system. If its only for the win32 system, we could do an exe instead; view it as a unit test for <cpp> ...
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>