Learn R Programming

outsider.base (version 0.1.4)

exec_wait: Execute system commands and wait for response

Description

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

Usage

exec_wait(
  cmd,
  args = NULL,
  std_out = stdout(),
  std_err = stderr(),
  std_in = NULL,
  timeout = 0,
  with_ssh = TRUE
)

Arguments

cmd

Command

args

Arguments

std_out

Standard out

std_err

Standard error

std_in

Standard in

timeout

Timeout

with_ssh

Try and run with ssh, default TRUE

Value

logical

See Also

Other private-sys: exec_internal()