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: