From b87010016df67e9593359c56f67f56c4bf186755 Mon Sep 17 00:00:00 2001 From: Qubasa Date: Wed, 3 Jan 2024 13:26:25 +0100 Subject: [PATCH] Fix broken executor.py --- pkgs/clan-vm-manager/clan_vm_manager/app.py | 1 - pkgs/clan-vm-manager/clan_vm_manager/executor.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/clan-vm-manager/clan_vm_manager/app.py b/pkgs/clan-vm-manager/clan_vm_manager/app.py index c5c03b250..e781df0d0 100644 --- a/pkgs/clan-vm-manager/clan_vm_manager/app.py +++ b/pkgs/clan-vm-manager/clan_vm_manager/app.py @@ -87,7 +87,6 @@ class Application(Gtk.Application): # when we migrate everything to use the ClanURI class we can use the full url as the ident self.proc_manager.spawn( ident=url, - wait_stdin_con=False, on_except=on_except, log_path=log_path, func=vms.run.run_vm, diff --git a/pkgs/clan-vm-manager/clan_vm_manager/executor.py b/pkgs/clan-vm-manager/clan_vm_manager/executor.py index 1d8b26117..38f208dea 100644 --- a/pkgs/clan-vm-manager/clan_vm_manager/executor.py +++ b/pkgs/clan-vm-manager/clan_vm_manager/executor.py @@ -61,7 +61,6 @@ def _set_proc_name(name: str) -> None: def _init_proc( func: Callable, out_file: Path, - wait_stdin_connect: bool, proc_name: str, on_except: Callable[[Exception, mp.process.BaseProcess], None], **kwargs: Any, @@ -82,7 +81,7 @@ def _init_proc( # Set the process name _set_proc_name(proc_name) - # Open stdin + # Close stdin sys.stdin.close() # Execute the main function