powered by
Returns the system call arguments.
create_system_call_args(command, cli_args, wait, env, is_windows_os)
The command to invoke
Possible list of command line arguments
A TRUE/FALSE parameter, indicating whether the function should wait for the command to finish, or run it asynchronously
Optional character vector of name=value strings to set environment variables
True if windows based OS, false for unix based OS
The system call arguments
# NOT RUN { filename <- './myfile.sh' arg_list <- create_system_call_args('sh', c(filename), TRUE, character(), FALSE) # }
Run the code above in your browser using DataLab