I am trying to display the output of a shell command using PHP's passthru
function. I am getting an extra [0;32m
where the actual shell output has a green line and am also getting an extra [m
at the beginning of few other lines.
What do I need to do to get a PHP output without these additional characters?
My PHP command is:
passthru('/var/www/cCompiledScript');