Wrapper for system2 with better return type and errorhandling.
system3(
command,
args = character(0L),
stdout = "",
stderr = "",
wait = TRUE,
...,
stop.on.exit.code = wait
)[list].
Exit code of command. Given if wait is TRUE, otherwise NA. 0L means success. 127L means command was not found
Output of command on streams. Only given is stdout or stderr was set to TRUE, otherwise NA.