Skip to content

Commit

Permalink
do not add extra quotes when invoking a subprocess (fix #563)
Browse files Browse the repository at this point in the history
  • Loading branch information
1138-4EB committed Oct 11, 2019
1 parent 214de98 commit 4661fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vunit/ghdl_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def simulate(self, # pylint: disable=too-many-locals

init_file = config.sim_options.get(self.name + ".gtkwave_script.gui", None)
if init_file is not None:
cmd += ["--script", "\"{}\"".format(abspath(init_file))]
cmd += ["--script", "{}".format(abspath(init_file))]

stdout.write("%s\n" % " ".join(cmd))
subprocess.call(cmd)
Expand Down

0 comments on commit 4661fe1

Please sign in to comment.