Shell needed for unpack LittleFS cmd

This commit is contained in:
Jason2866
2023-09-23 13:24:37 +02:00
committed by GitHub
parent 81d287a3b0
commit 9ff65d76cc
+1 -1
View File
@@ -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: