79 if (isset($args[0]) && !empty($args[0])) {
86 $bearsamppLang->getValue(constant(
'Lang::' . $serviceLangConstant)) .
' - ';
92 if (isset($commandMapping[$command])) {
93 $config = $commandMapping[$command];
95 if (isset($config[
'editor']) && $config[
'editor']) {
99 $caption .=
' (' . $command .
')';
103 $debugOutput = $bin->getCmdLineOutput($command);
108 $msgBoxError = !$debugOutput[
'syntaxOk'];
109 $debugOutput[
'content'] = $debugOutput[
'syntaxOk'] ?
'Syntax OK !' : $debugOutput[
'content'];
114 $content = $this->
hasContentKey() && is_array($debugOutput) ? $debugOutput[
'content'] : $debugOutput;
121 $bearsamppWinbinder->messageBoxError($content, $caption);
123 $bearsamppWinbinder->messageBoxInfo($content, $caption);