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,
|
openocd_target=openocd_target_path,
|
||||||
is_open_console=False
|
is_open_console=False
|
||||||
) -> subprocess.Popen:
|
) -> subprocess.Popen:
|
||||||
print(openocd_scripts)
|
cmd = [openocd_exec, "-s", openocd_scripts,
|
||||||
cmd = shlex.split(
|
"-f", openocd_interface, "-f", openocd_target]
|
||||||
f"{openocd_exec} -s {openocd_scripts} "
|
|
||||||
f"-f {openocd_interface} -f {openocd_target}", posix=False
|
|
||||||
)
|
|
||||||
|
|
||||||
creation_flags = subprocess.SW_HIDE
|
creation_flags = subprocess.SW_HIDE
|
||||||
if is_open_console:
|
if is_open_console:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user