commit 35835d652211783a44049222c38f97cb6caf1f4e parent d7a6deb16a50e05b0e761ed64987e9c93eca4995 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Thu, 21 Nov 2024 18:51:49 +0100 fix: use exec for ps Diffstat:
M | index.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.php b/index.php @@ -16,7 +16,7 @@ function analyze_video($video_file) { } function ytdl_status($video_id) { - $pid = passthru("ps ax | grep -v grep | grep " . $video_id); + $pid = exec("ps ax | grep -v grep | grep " . $video_id); return strlen($pid) > 0; }