Fix UI: Add button IDs and fix status message selector in screen.html; Capture stderr in launcher.php

This commit is contained in:
PaulVua
2026-02-17 12:51:39 +01:00
parent cf502abfef
commit 8c55798e34
2 changed files with 15 additions and 10 deletions

View File

@@ -1760,8 +1760,8 @@ if ($type == "screen_control") {
shell_exec($command);
echo "Started";
} elseif ($action == "stop") {
$command = 'sudo pkill -f "screen.py"';
shell_exec($command);
echo "Stopped";
$command = 'sudo pkill -f "screen.py" 2>&1';
$output = shell_exec($command);
echo "Stopped. Output: " . $output;
}
}