exec_internal: Execute system commands and wait for response

View source: R/sys.R

exec_internalR Documentation

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


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