Hey,
I would like to check the output of the command:
apachectl configtest (which is executable by anybody).
I would like to check if its output contains 'Syntax OK' with a regex.
I tried passthrough, and backticks but I don't get any response.
system will not do as it only returns the last line which is a blank newline afaik.
Any suggestions?
Thanks in advance,
Tuurlijk