self.config.write() # Does not preserve original comments
def run_command(self, command, arguments):
- """Run `command` with `arguments` using
+ """Run the command named `command` with `arguments` using
:meth:`~hooke.engine.CommandEngine.run_command`.
Allows for running commands without spawning another process
command = multiprocessing.Process(name='command engine',
target=hooke.engine.run, args=(hooke, ui_to_command, command_to_ui))
command.start()
+ hooke.engine = None # no more need for the UI-side version.
return (ui_to_command, command_to_ui, command)
def _cleanup_run(self, ui_to_command, command_to_ui, command):