impure functionsystem_parallel

Similar to system(3). Executes the given commands in the system shell, in parallel if omc was compiled using OpenMP.

Inputs

TypeNameDefaultDescription
String[:]callStrString to call: sh -c $callStr
IntegernumThreadsnumProcessors()

Outputs

TypeNameDefaultDescription
Integer[:]retvalReturn value of the system call; usually 0 on success