ssh_command: Run a commmand on a remote server

Description Usage Arguments Value

View source: R/submitter.R

Description

Run a commmand on a remote server using ssh.

Usage

1
2
ssh_command(command, remote, quiet = FALSE, stderr = FALSE, prompt = NULL,
  ...)

Arguments

command

(character) The command to run

remote

(remote_server) The remote server information.

quiet

(logical of length 1) Supress messeges.

stderr

Passed to the stderr argument of system2. If TRUE, Mix in standard error with output.

prompt

(character of length 1) Character to display in front of commands. Defualt: timestamp.

...

Passed to system2.

Value

(character) The standard output of the command.


zachary-foster/qsubmitter documentation built on May 4, 2019, 8:48 p.m.