Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_vivado fails when tcl_file_name contains spaces in the path #686

Open
nfrancque opened this issue Oct 15, 2020 · 1 comment · May be fixed by #871
Open

run_vivado fails when tcl_file_name contains spaces in the path #686

nfrancque opened this issue Oct 15, 2020 · 1 comment · May be fixed by #871

Comments

@nfrancque
Copy link

Unfortunately Python can install to Program Files on Windows, causing the path passed to run_vivado by create_compile_order_file to also contain a space because extract_compile_order.tcl is contained within the install. The problems caused by this probably vary, but looks like it has caused batch to split up the commands and fail entirely.

I think that surrounding tcl_file_name and also each of tcl_args independently with quotes for the string passed into check_call would solve it for both OSes?

@eine
Copy link
Collaborator

eine commented Oct 23, 2020

@nfrancque would you mind trying removing shell=True from

check_call(cmd, cwd=cwd, shell=True)
?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants