title: How do I find out the pid of a child process started with system or system2 in R?
body: <p>I would like send a signal to a process I started with <code>system</code> or <code>system2</code> on Linux and Mac OS X. However, going through their documentation I was unable to find any way to find out the pid of the newly started process.</p>