run_lsprepost
Execute LS-PrePost command files to automate post-processing in an allowed working directory, with optional headless mode and a hard timeout that kills the process tree.
Instructions
DISABLED unless the server is started with LSDYNA_MCP_ENABLE_LSPREPOST=1. Run an LS-PrePost command file (post-processing automation) in working_dir (must be an allowed folder). headless=True uses 'runc=' (no graphics: only non-graphical commands work); False uses 'c= -nographics'. The call runs on a worker thread with a hard timeout (at most 900 s) that kills the whole process tree. Files created are listed. Args: commands (cfile text, at most 20000 characters), working_dir, headless, timeout_s
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes | ||
| headless | No | ||
| timeout_s | No | ||
| working_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |