Fix broken executor.py

This commit is contained in:
Qubasa
2024-01-03 13:26:25 +01:00
parent 8870351737
commit ae00b3ae65
2 changed files with 1 additions and 3 deletions

View File

@@ -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 # when we migrate everything to use the ClanURI class we can use the full url as the ident
self.proc_manager.spawn( self.proc_manager.spawn(
ident=url, ident=url,
wait_stdin_con=False,
on_except=on_except, on_except=on_except,
log_path=log_path, log_path=log_path,
func=vms.run.run_vm, func=vms.run.run_vm,

View File

@@ -61,7 +61,6 @@ def _set_proc_name(name: str) -> None:
def _init_proc( def _init_proc(
func: Callable, func: Callable,
out_file: Path, out_file: Path,
wait_stdin_connect: bool,
proc_name: str, proc_name: str,
on_except: Callable[[Exception, mp.process.BaseProcess], None], on_except: Callable[[Exception, mp.process.BaseProcess], None],
**kwargs: Any, **kwargs: Any,
@@ -82,7 +81,7 @@ def _init_proc(
# Set the process name # Set the process name
_set_proc_name(proc_name) _set_proc_name(proc_name)
# Open stdin # Close stdin
sys.stdin.close() sys.stdin.close()
# Execute the main function # Execute the main function