Skip to content
Snippets Groups Projects
Commit eee35f7f authored by Axel Hahn's avatar Axel Hahn
Browse files

update exec output

parent 35d09fbc
No related branches found
No related tags found
No related merge requests found
......@@ -93,13 +93,13 @@ function _exec($cmd): void
// Read stdout and stderr in real-time
while ($output = fgets($pipes[1])) {
echo " > $output";
echo " | $output";
flush();
}
fclose($pipes[1]);
while ($error = fgets($pipes[2])) {
echo " ERR> $error";
echo " 2| $error";
flush();
}
fclose($pipes[2]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment