Solver: CommandLine: Fix path replace.

setup.py
Pierre-Antoine Rouby 2023-10-27 11:15:58 +02:00
parent 65c261887c
commit 66f6d3505b
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ class CommandLineSolver(AbstractSolver):
The executable and list of arguments
"""
cmd = cmd.replace("@install_dir", self._install_dir())
cmd = cmd.replace("\"@path\"", path)
cmd = cmd.replace("@path", "\"" + path + "\"")
cmd = cmd.replace("@input", self.input_param())
cmd = cmd.replace("@output", self.output_param())
cmd = cmd.replace("@dir", self._process.workingDirectory())