I know how to find the process of my perl program -- getpid()
or the $$ variable.
Now how do I find the process id (pid) of a program that I started?
ie:
system("some_program &");
I believe there is some convuluted way to do this in C using fork
and exec, but I figured that must be an easy Perl way Y/n?