Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php execute script wait for response

exec('sh somescript.sh');//this will wait for script to finish
exec('sh somescript.sh >/dev/null 2>&1 &'); //this will NOT wait 
 
PREVIOUS NEXT
Tagged: #php #execute #script #wait #response
ADD COMMENT
Topic
Name
3+8 =