We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57e71f4 commit eacc4c3Copy full SHA for eacc4c3
doc/changelog/831.fixed.md
@@ -0,0 +1 @@
1
+check the working directory path before run subprocess
src/ansys/dyna/core/run/windows_runner.py
@@ -164,6 +164,10 @@ def _get_command_line(self) -> str:
164
ncpu = self.ncpu
165
mem = self.get_memory_string()
166
input_file = self.input_file
167
+
168
+ if not os.path.isabs(self.working_directory):
169
+ self.working_directory = os.path.abspath(self.working_directory)
170
171
if self.mpi_option == MpiOption.SMP:
172
command = f"{self.solver} i={input_file} ncpu={ncpu} memory={mem}"
173
elif self.mpi_option == MpiOption.MPP_INTEL_MPI:
0 commit comments