0👍
first try to use full path and redirect both stdout and stderr to /dev/null, then background it.
shell_exec('sudo /var/www/html/deploy.sh > /dev/null 2>&1 &');
- [Vuejs]-Laravel and Vuetify Unknown custom element
- [Vuejs]-Vuejs, bootstrap table component and fields label
Source:stackexchange.com