call_and_capture: Make a call with system2()
and capture the effects.
Description
Make a call with system2()
and capture the effects.
Usage
call_and_capture(command, args, ..., wait = TRUE)
Value
A list with:
content of stderr
content of stdout
exit status
Arguments
- command
The command to issue. A character string of length one.
- args
The command line arguments.
- ...
Arguments passed to system2()
.
- wait
Passed to system2()
.