thangavm has asked for the wisdom of the Perl Monks concerning the following question:
How to get to know the process id of a process started using a system call.
What I am doing in a script is
Now I want to get to know the process id of the launched java process. What is to be done. -thanks Madan... ... ... if (fork()) { while (1) { system(<Launching a java process>); ... on some failure condition break the loop; } }
2004-12-07 Janitored by Arunbear - added code tags, as per Monastery guidelines
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Process id
by chromatic (Archbishop) on Dec 07, 2004 at 05:57 UTC | |
Re: Process id
by tachyon (Chancellor) on Dec 07, 2004 at 06:04 UTC | |
by tilly (Archbishop) on Dec 07, 2004 at 16:03 UTC |
Back to
Seekers of Perl Wisdom