From c4defd56d1fa0a11ee48184808bd1b896671077f Mon Sep 17 00:00:00 2001 From: absurdo Date: Mon, 27 Nov 2023 13:15:24 +0100 Subject: [PATCH] Added proc_open for execute commands in php --- vendor/phangoapp/leviathanutils/src/Linux.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/phangoapp/leviathanutils/src/Linux.php b/vendor/phangoapp/leviathanutils/src/Linux.php index 2c41e39..b1f76b5 100644 --- a/vendor/phangoapp/leviathanutils/src/Linux.php +++ b/vendor/phangoapp/leviathanutils/src/Linux.php @@ -15,6 +15,8 @@ class Linux { } + $final_command=implode(' ', $arr_command); + $descriptorspec = array( 0 => array("pipe", "r"), // stdin 1 => array("pipe", "w"), // stdout