Fix UI: Add button IDs and fix status message selector in screen.html; Capture stderr in launcher.php
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user