classes/phing/types/Commandline.php
public function setExecutable($executable, $translateFileSeparator = true): void
    {
        if ($executable === null || $executable === '') {
            return;
        }
        $this->executable = $translateFileSeparator
            ? str_replace(['/', '\\'], PhingFile::$separator, $executable)
            : $executable;
    }
public function setExecutable($executable, $translateFileSeparator = true): void
    {
        if ($executable === null || $executable === '') {
            return;
        }
        $this->executable = $translateFileSeparator
            ? str_replace(['/', '\\'], PhingFile::$separator, $executable)
            : $executable;
    }
public function setExecutable ( $ executable , $ translateFileSeparator = true ) : void { if ( $ executable === null || $ executable === '' ) { return ; } $ this -> executable = $ translateFileSeparator ? str_replace ( [ '/' , '\\' ] , PhingFile :: $ separator , $ executable ) : $ executable ; }
Sets the executable to run.

@param string $executable
@param bool $translateFileSeparator
Sets the executable to run .