in reply to does system() return a pid?

Hello sciguy,

Does the system() function return a value ... and is that value the PID of the child process?

What would be the point? The return value of a system call is received only after the child process has completed and exited.

Maybe you’re looking for threads? See perlthrtut. The Monastery also has some tutorials on threads: Threads, Multi-Processing, and Inter-Process Communication.

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,