impure functionsystem_parallel
Similar to system(3). Executes the given commands in the system shell, in parallel if omc was compiled using OpenMP.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String[:] | callStr | String to call: sh -c $callStr | |
| Integer | numThreads | numProcessors() |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer[:] | retval | Return value of the system call; usually 0 on success |