mirror of
https://github.com/MikronMIK32/mik32-uploader.git
synced 2026-01-01 13:37:03 +03:00
fix arguments with spaces
This commit is contained in:
parent
51cd0c845a
commit
ca3d977611
@ -226,11 +226,8 @@ def run_openocd(
|
||||
openocd_target=openocd_target_path,
|
||||
is_open_console=False
|
||||
) -> subprocess.Popen:
|
||||
print(openocd_scripts)
|
||||
cmd = shlex.split(
|
||||
f"{openocd_exec} -s {openocd_scripts} "
|
||||
f"-f {openocd_interface} -f {openocd_target}", posix=False
|
||||
)
|
||||
cmd = [openocd_exec, "-s", openocd_scripts,
|
||||
"-f", openocd_interface, "-f", openocd_target]
|
||||
|
||||
creation_flags = subprocess.SW_HIDE
|
||||
if is_open_console:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user