You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/08/12 21:20:25 UTC
DO NOT REPLY [Bug 30631] New: -
Need a way to get process-id for task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30631>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30631
Need a way to get process-id for <exec..> task
Summary: Need a way to get process-id for <exec..> task
Product: Ant
Version: 1.6.2
Platform: Other
OS/Version: Windows NT/2K
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: santosh_malik@hotmail.com
We cannot get a process id using existing ant tasks. Can we have exec task give
us a process id back [for eg. if i run a batch file or something which will
remain live untill i forcibily kill it.] In this case i might be able to get
the process id provided by exec task and kill it. Also can we have a stop/kill
process task [It can be a new one or enhancements to existing tasks.]
Why i need it?
I have a email spanning tool which runs on one mailbox (monitoring all incoming
emails). When a user send an email with required properties to send email, i
need to capture all the process information for future reference. If at some
time if the user thinks that he longer needs the spam, he can send another mail
to stop it. We can just kill his spamming process.
Thanks...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org