@@ -139,13 +139,13 @@ HTTPClient: TFPHttpClient; {$ENDIF} begin // What's the current running groff version? {$IFDEF WINDOWS} - if RunCommand('cmd', ['/c', 'troff --version'], GroffOutputVersion) then + if RunCommand('cmd', ['/c', 'troff --version'], GroffOutputVersion, [], swoHIDE) then {$ELSE} - if RunCommand('/bin/sh', ['-c', 'troff --version'], GroffOutputVersion) then + if RunCommand('/bin/sh', ['-c', 'troff --version'], GroffOutputVersion, [], swoHIDE) then {$ENDIF} begin edtGroffInstalledVersion.Text := GroffOutputVersion; if pos('GNU', GroffOutputVersion) = 0 then ShowMessage('groffstudio thinks that your installed version of troff is not GNU troff.' + LineEnding + @@ -328,11 +328,11 @@ // Build the parameters: buildOpts := 'groff'; // - Macro: - if cmbMacro.SelText <> '' then buildOpts := buildOpts + ' -' + cmbMacro.SelText; + if LeftStr(cmbMacro.Text, 1) = 'm' then buildOpts := buildOpts + ' -' + cmbMacro.Text; // - Enforce UTF-8: buildOpts := buildOpts + ' -Kutf8'; // - Preprocessors: