in reply to How to catch that pid?
My problem: I realized open3 returns the pid only at closure.
If you add an & to the end of your command, it will be run asynchronously and open3 will be able to return the pid to you immediately.
You would need to add a shell into the mix though.
|
|---|