mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
scripts: runfap: fixed starting apps with spaces in path (#3782)
Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -88,7 +88,7 @@ class Main(App):
|
|||||||
return 4
|
return 4
|
||||||
|
|
||||||
self.logger.info(f"Launching app: {startup_command}")
|
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)):
|
if len(result := storage.read.until(storage.CLI_EOL)):
|
||||||
self.logger.error(f"Unexpected response: {result.decode('ascii')}")
|
self.logger.error(f"Unexpected response: {result.decode('ascii')}")
|
||||||
|
|||||||
Reference in New Issue
Block a user