How do I get the pid of a subprocess in Julia? I want to create a subprocess that lives for a long time, potentially longer than the Julia interpreter. I thus want to know its pid (process id) so that I can control it later (e.g. via ps or kill).
The Process type doesn't seem to have a "pid" field, and I don't see a respective function either. I'm happy with a solution that works on Unix only. My first idea for a work-around was to output $!, but Julia doesn't use a shell to run subprocesses... -erik -- Erik Schnetter <[email protected]> http://www.perimeterinstitute.ca/personal/eschnetter/
