Command/Tender/ChildProcessContainer.php
public function cleanUp()
    {
        $this->status = self::STATUS_CLEANINGUP;
        if ($this->process->isRunning()) {
            $this->sendTERMSignal();
        } else {
            $this->status = self::STATUS_CLEANEDUP;
        }

    }
public function cleanUp()
    {
        $this->status = self::STATUS_CLEANINGUP;
        if ($this->process->isRunning()) {
            $this->sendTERMSignal();
        } else {
            $this->status = self::STATUS_CLEANEDUP;
        }

    }
public function cleanUp ( ) { $ this -> status = self :: STATUS_CLEANINGUP ; if ( $ this -> process -> isRunning ( ) ) { $ this -> sendTERMSignal ( ) ; } else { $ this -> status = self :: STATUS_CLEANEDUP ; } }
Cleans up a process

@return void
Cleans up a process