Learn R Programming

outsider.base (version 0.1.4)

exec_internal: Execute system commands and wait for response

Description

Passes arguments to `sys::exec_internal`, if a server is connected arguments are passed to `ssh::ssh_exec_internal` instead.

Usage

exec_internal(
  cmd,
  args = NULL,
  std_in = NULL,
  error = TRUE,
  timeout = 0,
  with_ssh = TRUE
)

Arguments

cmd

Command

args

Arguments

std_in

Standard in

error

Call an error? T/F

timeout

Timeout

with_ssh

Try and run with ssh, default TRUE

Value

logical

See Also

Other private-sys: exec_wait()