in reply to Background process
At its simplest all you need is:
my $pid = system 1, q[java \path\to\yourapp.jar]; ... ## Kill it if it is still running kill 3, $pid if kill 0, $pid;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Background process
by Your Mother (Archbishop) on Jan 11, 2011 at 18:46 UTC | |
by BrowserUk (Patriarch) on Jan 11, 2011 at 19:15 UTC | |
by DeadPoet (Scribe) on Jan 11, 2011 at 19:40 UTC |