If run.php returns an empty body (transient nginx/PHP-FPM issue), the script still runs via nohup. Treat empty response as ok instead of throwing a JSON parse error that misleads the user into thinking the action failed.
If run.php returns an empty body (transient nginx/PHP-FPM issue), the script still runs via nohup. Treat empty response as ok instead of throwing a JSON parse error that misleads the user into thinking the action failed.