International PHP Conference Munich 2025

Voting

: four plus zero?
(Example: nine)

The Note You're Voting On

php dot reg at kjpetrie dot co dot uk
2 years ago
If you want to run the command in the background and also use escapeshellcmd() as recommended, ensure you do the redirection outside the brackets! These are things you do want the shell to interpret.

E.g. exec(escapeshellcmd('mycommand and arguments').' > /dev/null &');

<< Back to user notes page

To Top