Skip to content

Commit

Permalink
Shell needed for unpack LittleFS cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored and dilyanpalauzov committed Oct 1, 2023
1 parent f4944ce commit 2bc9ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pio-tools/custom_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2bc9ef2

Please sign in to comment.