about summary refs log tree commit diff stats
path: root/fungus/run_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'fungus/run_manager.py')
-rw-r--r--fungus/run_manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fungus/run_manager.py b/fungus/run_manager.py
index 03df048..e87e073 100644
--- a/fungus/run_manager.py
+++ b/fungus/run_manager.py
@@ -189,9 +189,9 @@ def handle_command(
 
     handle: LaunchHandle = launcher.start()
 
-    # If start() returned a dummy handle, validation failed — the
-    # appropriate error dialog is already shown via callbacks.
-    if handle.process and handle.process.stdout is not None:
+    # If start() returned a handle with process=None, validation failed —
+    # the appropriate error dialog is already shown via callbacks.
+    if handle.process is not None:
         # ── Attach GLib I/O watches ───────────────────────────────
         def make_io_handler(is_stderr: bool):
             """Create an I/O line handler for the given stream."""