src/Process.php
public function start($callback = null){
    if(self::$os === "linux" || self::$os === "mac"){
      return $this->startOnNix($callback);
    }else if(self::$os === "windows"){
      return $this->startOnWindows($callback);
    }
  }
public function start($callback = null){
    if(self::$os === "linux" || self::$os === "mac"){
      return $this->startOnNix($callback);
    }else if(self::$os === "windows"){
      return $this->startOnWindows($callback);
    }
  }
public function start ( $ callback = null ) { if ( self :: $ os === "linux" || self :: $ os === "mac" ) { return $ this -> startOnNix ( $ callback ) ; } else if ( self :: $ os === "windows" ) { return $ this -> startOnWindows ( $ callback ) ; } }
Callback is called when process is started
Callback is called when process is started