Created
August 15, 2011 14:12
-
-
Save boyvanamstel/1146834 to your computer and use it in GitHub Desktop.
Show all output of exec() or system() commands in PHP or Rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just append 2>&1 to the command to redirect all ouput to standard out instead of the error stream. | |
Source: http://stackoverflow.com/questions/714740/php-exec-is-failing-silently |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!