private function executeFile($file)
    {
        if (OperatingSystem::isWindows()) {
            return $this->runCommandForWindows($file);
        }

        return $this->runCommandForNix($file);
    }
private function executeFile($file)
    {
        if (OperatingSystem::isWindows()) {
            return $this->runCommandForWindows($file);
        }

        return $this->runCommandForNix($file);
    }
private function executeFile ( $ file ) { if ( OperatingSystem :: isWindows ( ) ) { return $ this -> runCommandForWindows ( $ file ) ; } return $ this -> runCommandForNix ( $ file ) ; }
Check the operating system call appropriate execution method.

@param string $file The absolute path to the executing file.

@return void
Check the operating system call appropriate execution method .