module Mixlib::ShellOut::Unix

def child_pgid

so it can be directly used in arguments to kill, wait, etc.
Since we call setsid the child_pgid will be the child_pid, set to negative here
def child_pgid
  -@child_pid
end