How to get PID of current rake task? How to get PID of current rake task? shell shell

How to get PID of current rake task?


You get the current PID in Ruby with Process.pid