“PHP Aguarde para o executivo terminar” Respostas de código

PHP Aguarde para o executivo terminar

PHP exec will wait until the execution of the called program is finished,
before processing the next line,
unless you use & at the end of the string to run the program in background.
Singh99

script de execução php aguar

exec('sh somescript.sh');//this will wait for script to finish
exec('sh somescript.sh >/dev/null 2>&1 &'); //this will NOT wait 
Friendly Hawk

Respostas semelhantes a “PHP Aguarde para o executivo terminar”

Perguntas semelhantes a “PHP Aguarde para o executivo terminar”

Mais respostas relacionadas para “PHP Aguarde para o executivo terminar” em PHP

Procure respostas de código populares por idioma

Procurar outros idiomas de código