chombium Posted August 17, 2007 Share Posted August 17, 2007 Hi, The return code of shell_exec function is the return code of the executed command. What happens if i'm trying to execute a non existing program/script? What is the return code? ie $output = shell_exec('lss -lart'); and 'lss' is not present in the same folder as the script? Quote Link to comment https://forums.phpfreaks.com/topic/65387-shell_exec-return-code/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.