From 7596e63a9fafab80d60154bc7cd90a54464723be Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Tue, 17 Mar 2020 12:23:06 +1300 Subject: [PATCH] pass **kw args to arun_command in run_command_in_foreground this makes the debug shell run in / rather than /snap/subiquity/whatever --- subiquitycore/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquitycore/core.py b/subiquitycore/core.py index 5ea8b7b8..8d6d3418 100644 --- a/subiquitycore/core.py +++ b/subiquitycore/core.py @@ -395,7 +395,7 @@ class Application: async def _run(): await arun_command( - cmd, stdin=None, stdout=None, stderr=None) + cmd, stdin=None, stdout=None, stderr=None, **kw) screen.start() urwid.emit_signal( screen, urwid.display_common.INPUT_DESCRIPTORS_CHANGED)