<exec> task
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, October 12, 2001 11:07 AM

Is there a way to quit out of the task if it hangs for too long of a time period? Here is my call to exec: executable="command.com" timeout="1"> I am calling this exec many times and sometimes it hangs on the first call. It successfully checks out all of the files and then never seems to return back to the build.xml. The timeout doesnt appear to do anything. I am using windows 98 so that is why I am using command.com. Any ideas on how to stop the exec from hanging? Thanks, -- George    More>>

Is there a way to quit out of the
task if it hangs for too
long of a time period? Here is my
call to exec:




executable="command.com" timeout="1">








I am calling this exec many times
and sometimes it hangs on the first
call. It successfully checks out
all of the files and then never
seems to return back to the
build.xml. The timeout doesnt
appear to do anything. I am using
windows 98 so that is why I am
using command.com. Any ideas on how
to stop the exec from hanging?



Thanks,

-- George

   <<Less

Re: &lt;exec&gt; task

Posted By:   Erik_Hatcher  
Posted On:   Saturday, October 13, 2001 06:14 AM

has a 'timeout' attribute (specified in milliseconds).
About | Sitemap | Contact