executors.CLIExecutor
CLIExecutor(
command_template,
input_path='temp_in.csv',
output_path='temp_out.csv',
)THE HEAVY-DUTY TRANSLATOR (Process Isolation): This executor acts like a human sitting at a computer terminal. It takes the DigiQual DataFrame, saves it as a CSV file, opens a brand new, isolated terminal command to run your heavy software (like Ansys or a heavy Python FEA script), waits for it to finish, and reads the resulting CSV.
Because the OS opens and closes a separate process for the solver, 100% of the memory used by the solver is cleared when it finishes. This prevents memory leaks.
Example Usage
cmd = “python run_abaqus.py {input} {output}” executor = CLIExecutor(command_template=cmd)
Methods
| Name | Description |
|---|---|
| run | The translation process for heavy, external software. |
run
run(samples)The translation process for heavy, external software.