Fix in Linux

This commit is contained in:
Antonio de la Rosa 2026-01-06 00:05:37 +01:00
parent dc8341e8c6
commit 9d70c9efd2

View file

@ -11,13 +11,13 @@ class Linux {
$error=0;
/*for($x=1;$x<count($arr_command);$x++) {
for($x=1;$x<count($arr_command);$x++) {
$arr_command[$x]=escapeshellcmd($arr_command[$x]);
$arr_command[$x]=escapeshellarg($arr_command[$x]);
}*/
}
$final_command=escapeshellcmd(implode(' ', $arr_command));
$final_command=implode(' ', $arr_command);
$descriptorspec = array(
0 => array("pipe", "r"), // stdin