Add background execution
Opened this issue · 4 comments
DarkEye123 commented
I need in some occasions a background execution of some commands.
With it it would be great to store a pid of such process too
davydany commented
This is a great suggestion. I do plan to implement it as part of a future update.
metaperl commented
bump.
davydany commented
Noted :-) I see 3 more upvotes... I'm tied up with a few other projects. Look for an update to this in 2 weeks.
davydany commented
As a workaround, you can add &
to the end of your command, and get the output from result.stdout
and parse it for the PID.
https://stackoverflow.com/questions/1908610/how-to-get-pid-of-background-process