public function wait()
    {
        $pid = $this->getSupervisorPid();
        if (!empty($pid)) {
            while ($this->isProcessRunning($pid)) {
                sleep(1);
            }
        }
    }
public function wait()
    {
        $pid = $this->getSupervisorPid();
        if (!empty($pid)) {
            while ($this->isProcessRunning($pid)) {
                sleep(1);
            }
        }
    }
public function wait ( ) { $ pid = $ this -> getSupervisorPid ( ) ; if ( ! empty ( $ pid ) ) { while ( $ this -> isProcessRunning ( $ pid ) ) { sleep ( 1 ) ; } } }
Wait for supervisord process to disappear
Wait for supervisord process to disappear