Your best bet might be to roll the fork()/exec() yourself, so that the parent process can get the child pid directly from fork().
In reply to Re: How do you get PID of a program called using system call?
by dws
in thread How do you get PID of a program called using system call?
by monk_e_magic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |