Fix in Linux

This commit is contained in:
Antonio de la Rosa 2026-01-06 00:04:38 +01:00
parent 767f8cd52a
commit dc8341e8c6

View file

@ -11,13 +11,13 @@ class Linux {
$error=0; $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]=escapeshellcmd($arr_command[$x]);
} }*/
$final_command=implode(' ', $arr_command); $final_command=escapeshellcmd(implode(' ', $arr_command));
$descriptorspec = array( $descriptorspec = array(
0 => array("pipe", "r"), // stdin 0 => array("pipe", "r"), // stdin