Skip to content

Commit

Permalink
pass binary path as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
waltsims committed Oct 27, 2024
1 parent f668cf2 commit 6f7d2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kwave/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _make_binary_executable(self):
raise e

def run_simulation(self, input_filename: str, output_filename: str, options: str):
command = [self.execution_options.binary_path, "-i", input_filename, "-o", output_filename, options]
command = [str(self.execution_options.binary_path), "-i", input_filename, "-o", output_filename, options]

try:
with subprocess.Popen(
Expand Down

0 comments on commit 6f7d2af

Please sign in to comment.