Merge pull request 'Fix broken executor.py' (#684) from Qubasa-main into main
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user