php shell_exec() vs exec() With exec(), you can pass an optional param variable which will receive an array of output lines.
How to ‘output’ from a php script called by exec or shell_exec?
1 Article
1
php shell_exec() vs exec() With exec(), you can pass an optional param variable which will receive an array of output lines.