Open Tontonitch opened 7 years ago
Did you try that with the latest version? Works fine here on a Windows 10 machine:
WIN10# check_logfiles -f "c:\dir with spaces\foobar.cfg" OK - no errors or warnings WIN10# find "logfile" "c:\dir with spaces\foobar.cfg" ---------- C:\DIR WITH SPACES\FOOBAR.CFG logfile => 'C:\Windows\SoftwareDistribution\ReportingEvents - Copy.log', WIN10# ver & check_logfiles -V Microsoft Windows [Version 10.0.16299.125] check_logfiles.exe v3.8.1.4
Hello,
After compiling a new version of check_logfiles.exe and using it in a different environment, I discovered that I cannot use a path with space in the argument --config. Usual path in a windows environment may contain "Program Files"
I guess it what not supported since the beginning. Taking the last and an old version of the plugin output the same error:
Running the script in the location of the config files and adapting the --config argument works, but that's not usable by the launching agent.
Would be great to be able to use paths with spaces with the --config option.
BR Yannick