function _getScriptPath($script) { $scriptPath = $this->_getScriptDirectory() . $script; if (Core::isWindows()) { $scriptPath .= '.bat'; } else { $scriptPath .= '.sh'; } return $scriptPath; }