Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
run_external_process [2011/07/31 20:07] hermann [Notes] |
run_external_process [2016/10/31 16:28] (current) admin [Notes] |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Inputs ===== | ===== Inputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ | + | ^ Name ^ Type ^ Description ^ |
| - | | File Name | [[String Type|String]] | The executable *.exe or *.com file name. If you are using a long file name containing a space, use a double-quoted string. | | + | | File Name | [[String Type]] | The executable *.exe or *.com file name. If you are using a long file name containing a space, use a double-quoted string. | |
| - | | Parameters | [[String Type|String]] | Process execution parameters. | | + | | Parameters | [[String Type]] | Process execution parameters. | |
| ===== Optional Inputs ===== | ===== Optional Inputs ===== | ||
| - | ^ Name ^ Type ^ Description ^ Default Value ^ | + | ^ Name ^ Type ^ Description ^ Default Value ^ |
| - | | Wait Process Completion | [[Bool Type|Bool]] | If true, the model waits for termination of the process. Otherwise, the model runs parallel to the process. | True | | + | | Wait Process Completion | [[Boolean Value Type]] | If true, the model waits for termination of the process. Otherwise, the model runs parallel to the process. | True | |
| - | | Seconds to Wait | [[Int Type|Int]] | The model waits this value (in seconds) to resume. If zero, the model waits for the the process to terminate. | 0 | | + | | Seconds to Wait | [[Integer Value Type]] | The model waits this value (in seconds) to resume. If zero, the model waits for the the process to terminate. | 0 | |
| ===== Outputs ===== | ===== Outputs ===== | ||
| + | |||
| + | None. | ||
| ===== Group ===== | ===== Group ===== | ||
| Line 34: | Line 36: | ||
| * The current directory; | * The current directory; | ||
| * The current directory for Dinamica; | * The current directory for Dinamica; | ||
| + | * The 64-bit Windows system directory; | ||
| * The 32-bit Windows system directory; | * The 32-bit Windows system directory; | ||
| * The 16-bit Windows system directory; | * The 16-bit Windows system directory; | ||
| Line 43: | Line 46: | ||
| Where PROMPT_COMMAND_OR_BATCH_FILE_NAME is the command which you want to execute or the complete path and file name of the batch file. | Where PROMPT_COMMAND_OR_BATCH_FILE_NAME is the command which you want to execute or the complete path and file name of the batch file. | ||
| + | |||
| + | The output produced by the process is shown as "info" in the message log, but only if and while the application is blocked waiting for the process execution to complete. | ||
| + | |||
| + | Any error output produced by the process is shown as "error" in the message log, but only if the execution of the process itself ends in a error. Otherwise, the error output is ignored. | ||
| ===== Internal Name ===== | ===== Internal Name ===== | ||