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


impure function system_parallel
  input String callStr[:] "String to call: sh -c $callStr";
  input Integer numThreads = numProcessors();
  output Integer retval[:] "Return value of the system call; usually 0 on success";
end system_parallel;

Generated at 2024-06-16T18:15:57Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos