create_system_call_args {scriptexec} | R Documentation |
Returns the system call arguments.
Description
Returns the system call arguments.
Usage
create_system_call_args(command, cli_args, wait, env, is_windows_os)
Arguments
command |
The command to invoke |
cli_args |
Possible list of command line arguments |
wait |
A TRUE/FALSE parameter, indicating whether the function should wait for the command to finish, or run it asynchronously |
env |
Optional character vector of name=value strings to set environment variables |
is_windows_os |
True if windows based OS, false for unix based OS |
Value
The system call arguments
Examples
filename <- './myfile.sh'
arg_list <- create_system_call_args('sh', c(filename), TRUE, character(), FALSE)
[Package scriptexec version 0.3.1 Index]