Cross-platform function to pass a command to the shell, using either
base::system() or (Windows-only) base::shell(), depending on the
operating system.
Arguments
- commandstring
The system command to be invoked, as a string. Multiple commands can be combined in this single string, e.g. with a multiline string.
- intern
a logical (not
NA) which indicates whether to capture the output of the command as an R character vector.- path
The path from where the command string needs to be executed
- ...
Other arguments passed to
base::system()orbase::shell().
See also
Other utils:
ask_yes_no(),
author2df(),
bookdown_zenodo(),
c_sort(),
create_hexsticker(),
menu_first(),
orcid2person(),
store_authors(),
use_author(),
validate_email(),
validate_orcid(),
yesno()