php shell_exec() vs exec() With exec(), you can pass an optional param variable which will receive an array of output lines.
Path is not available in PHP 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.