I use shell_exec to run a Python script from command line, to test, the Python script is simply waiting for a certain time period and then return True:
def test(minutes):
import time
time.sleep(minutes*60)
return True
As I've tested, if the time period is 30 minutes or 60 minutes, the result was successfully returned to PHP, however if I set it to 80 minutes, PHP received no result nor even error messages.
The max_execution_time in php.ini is 30000 seconds, which is long enough.
Environment: Windows Server 2016 Standard with IIS
PHP version: 7.3.4