mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
Shell needed for unpack LittleFS cmd
This commit is contained in:
parent
81d287a3b0
commit
9ff65d76cc
@ -300,7 +300,7 @@ def unpack_fs(fs_info: FSInfo, downloaded_file: str):
|
|||||||
cmd = fs_info.get_extract_cmd(downloaded_file, unpack_dir)
|
cmd = fs_info.get_extract_cmd(downloaded_file, unpack_dir)
|
||||||
print("Executing extraction command: " + str(cmd))
|
print("Executing extraction command: " + str(cmd))
|
||||||
try:
|
try:
|
||||||
returncode = subprocess.call(cmd, shell=False)
|
returncode = subprocess.call(cmd, shell=True)
|
||||||
print("Unpacked filesystem.")
|
print("Unpacked filesystem.")
|
||||||
return (True, unpack_dir)
|
return (True, unpack_dir)
|
||||||
except subprocess.CalledProcessError as exc:
|
except subprocess.CalledProcessError as exc:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user