From a5e89315ae2f16a5800078d52e7aae957542888f Mon Sep 17 00:00:00 2001 From: hedger Date: Mon, 15 Jul 2024 07:32:45 +0300 Subject: [PATCH] scripts: runfap: fixed starting apps with spaces in path (#3782) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- scripts/runfap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runfap.py b/scripts/runfap.py index b4b5989aa..a85d1e91a 100755 --- a/scripts/runfap.py +++ b/scripts/runfap.py @@ -88,7 +88,7 @@ class Main(App): return 4 self.logger.info(f"Launching app: {startup_command}") - storage.send_and_wait_eol(f"loader open {startup_command}\r") + storage.send_and_wait_eol(f'loader open "{startup_command}"\r') if len(result := storage.read.until(storage.CLI_EOL)): self.logger.error(f"Unexpected response: {result.decode('ascii')}")