I recently had problems with a Python-script executed from a PHP-script obiously sometimes not terminating for some reason. Since the PHP-script itself was called via CLI, this lead to a deadlock of the whole chain. Even PHP 8.x still does not have an inbuilt function to execute an external command and terminate that when a… Continue reading php exec() with timeout