Similar to system(3). Executes the given command in the system shell.


impure function system
  input String callStr "String to call: sh -c $callStr";
  input String outputFile = "" "The output is redirected to this file (unless already done by callStr)";
  output Integer retval "Return value of the system call; usually 0 on success";
end system;

Generated at 2019-07-19T01:39:52Z by OpenModelicaOpenModelica 1.14.0~dev-26610-gea7fc62 using GenerateDoc.mos