exec_wait: Execute system commands and wait for response

Description Usage Arguments Value See Also

View source: R/sys.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
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()


outsider.base documentation built on April 19, 2021, 1:06 a.m.