Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Mark Phippard <markphip@gm...> - 2011-03-15 20:32:40
Thanks, that does help. I am having a problem now though because it is apparently a lot more difficult to get the PID of a command you run from Java than I realized. I assumed the Process object has it.
I tried using SIGAR's ProcessFinder but it never finds my process, probably because it has ended when I am trying to find it.
Does SIGAR provide a helper class for running command line apps? I would think that SIGAR could capture the PID and expose it so that you could use its API easier.
Likewise, should I assume that if my process has ended I cannot retrieve its process info anyway? Maybe this why the *nix time command wraps another command?