functionrunScriptParallel
Runs multiple scripts in parallel.
Information
As runScript, but runs the commands in parallel.
If useThreads=false (default), the script will be run in an empty environment (same as running a new omc process) with default config flags.
If useThreads=true (experimental), the scripts will run in parallel in the same address space and with the same environment (which will not be updated).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String[:] | scripts | ||
| Integer | numThreads | numProcessors() | |
| Boolean | useThreads | false |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[:] | results |