exec_wait: Execute system commands and wait for response

View source: R/sys.R

exec_waitR Documentation

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()


ropensci/outsider.base documentation built on June 21, 2022, 7:39 p.m.