I recommend using passthru
and handling the output buffer directly:
ob_start();passthru('/usr/bin/python2.7 /srv/http/assets/py/switch.py arg1 arg2');$output = ob_get_clean();
I recommend using passthru
and handling the output buffer directly:
ob_start();passthru('/usr/bin/python2.7 /srv/http/assets/py/switch.py arg1 arg2');$output = ob_get_clean();