def run_and_detach
      log_r, log_w = IO.pipe
      @pid = Process.spawn(command, pgroup: true, err: :out, out: log_w)
      log_r.close
      log_w.close
      @pid
    end
def run_and_detach
      log_r, log_w = IO.pipe
      @pid = Process.spawn(command, pgroup: true, err: :out, out: log_w)
      log_r.close
      log_w.close
      @pid
    end
Run a command in a new process group, thus ignoring any furthur
 updates about the status of the process
 @return [Fixnum] process id