Can you post your <exec> task?
Are you <exec>'ing the .exe file? If it's a service, the command to
start it would be "net start ServiceName" - not sure whether "net" is a
valid target for <exec> or whether it has to be started with "cmd" ...

Hope this helps
Keith


-----Original Message-----
From: Robert Lin [mailto:[EMAIL PROTECTED] 
Sent: 01 March 2005 23:48
To: user@ant.apache.org
Subject: Output for running a windows service on Exec


Hi all, 

We wrote a windows application that's meant to be a windows service, but
when we run it using the <exec> task, the output for the ant task shows
up, but not the output for the windows service app itself.  Anybody have
an idea why that is?  

Thank you.

Robert Lin

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


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

Reply via email to