日本語のみで絞り込む
2009/6/19 -Currently I use shell_exec, but this requires the script to wait for an output. Is there any way to execute the command I want without waiting ...
2016/7/17 -Learn how to run a console command without await for the output using PHP in unix and windows environments.
If you try to execute a command under Windows the PHP script normally waits until the process has been terminated. Executing long-term processes pauses a PHP ...
2015/7/28 -Shell_Exec() is one of the program execution functions. It lets you run command-line statements, and gives you back the console output in a PHP ...
2014/9/10 -I'm just wondering if that is normal based on the commands I am using, should they run indefinitely when using nohup and if not what is the ...
2021/4/2 -By default, we have to wait until each process terminates. This means our PHP script will also be paused when executing an external command. If ...
2016/1/25 -I just wants to trigger without bothering about output and waiting. So why not just leave cron to do what cron does, which is to run jobs when ...
2009/12/31 -I have a simple unzip shell command shell_exec("unzip $zip_file");. What happens is the rest of the php script continues to run to start parsing ...
2011/12/26 -Does the PHP run shell_exec and just move on with the rest of the page/coding? Or does it wait for whatever external script is run to finish?
If you want to execute a command in the background without having the script waiting for the result, you can do the following: <?php passthru("/usr/bin/php / ...