From 9ff65d76ccfca3467e716014fccd4200cc106e70 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 23 Sep 2023 13:24:37 +0200 Subject: [PATCH] Shell needed for unpack LittleFS cmd --- pio-tools/custom_target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pio-tools/custom_target.py b/pio-tools/custom_target.py index 9bf136a1e..2b8fb6749 100644 --- a/pio-tools/custom_target.py +++ b/pio-tools/custom_target.py @@ -300,7 +300,7 @@ def unpack_fs(fs_info: FSInfo, downloaded_file: str): cmd = fs_info.get_extract_cmd(downloaded_file, unpack_dir) print("Executing extraction command: " + str(cmd)) try: - returncode = subprocess.call(cmd, shell=False) + returncode = subprocess.call(cmd, shell=True) print("Unpacked filesystem.") return (True, unpack_dir) except subprocess.CalledProcessError as exc: