[jug-discussion] How can I get the PID of a process started by ant java fork=true ...?

2008-09-10 Thread Chad Woolley
Hey, I have a java question :) I have an Ant target (the Jsunit start_server target, actually) which starts a java process using the java fork=true ... Ant target. How can I grab the PID for this process, or of the parent Ant process? Is the PID hidden by the JVM sandbox security, and my only

Re: [jug-discussion] How can I get the PID of a process started by ant java fork=true ...?

2008-09-10 Thread Erik Hatcher
Replying to an Ant question, yikes, . Lots of goodies here http://ant.markmail.org/search/?q=exec+pid Looks like the short answer is you can't really do it easily, but I'd go with what Steve says here with jps: http://markmail.org/message/73byck4whqbgtqyq But personally, this looks like

[jug-discussion] Re: How can I get the PID of a process started by ant java fork=true ...?

2008-09-10 Thread Chad Woolley
On Wed, Sep 10, 2008 at 9:07 AM, Chad Woolley [EMAIL PROTECTED] wrote: How can I grab the PID for this process, or of the parent Ant process? Is the PID hidden by the JVM sandbox security, and my only option is to grep the output of ps from the process invoking Ant? Hmm, here is a hack which

Re: [jug-discussion] No meeting tonight.

2008-09-10 Thread William H. Mitchell
At 03:11 PM 9/9/2008, TR wrote: Also any thoughts or volunteers for topics? I'll throw one out there - 'Command line tools any programmer should know' +1 on this. Long live the keyboard! Maybe this fits with one of the topic ideas on the wiki -- Favorite small tools - four or five 10-15