Index: CHANGES.txt ================================================================== --- CHANGES.txt +++ CHANGES.txt @@ -2,10 +2,11 @@ [Feature] Support for hdtbl. [Changed] Build extras and build preprocessors are now listed in a multi-select box. [Improved] If no error has occurred, the log file will contain a success message. [Improved] The default font looked gross on macOS. This should be better now. +[Bugfix] Calling troff over the system default shell now, potentially finding more paths. ------------------------------- Version 0.12.0 2022-03-14 Index: src/groffstudio.lpi ================================================================== --- src/groffstudio.lpi +++ src/groffstudio.lpi @@ -21,10 +21,11 @@ + @@ -86,10 +87,12 @@ + Index: src/unit1.pas ================================================================== --- src/unit1.pas +++ src/unit1.pas @@ -138,11 +138,15 @@ {$IFDEF DARWIN} HTTPClient: TFPHttpClient; {$ENDIF} begin // What's the current running groff version? - if RunCommand('troff', ['--version'], GroffOutputVersion) then + {$IFDEF WINDOWS} + if RunCommand('cmd', ['/c', 'troff', '--version'], GroffOutputVersion) then + {$ELSE} + if RunCommand('/bin/sh', ['-c', 'troff', '--version'], GroffOutputVersion) 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 + 'If this is correct, you are advised to fix this before continuing.' + LineEnding +