apex_execute: APEX Execute

Description Usage Arguments Value See Also Examples

View source: R/apex.R

Description

APEX Execute

Usage

1
apex_execute(session, command = "whoami", error = TRUE)

Arguments

session

ssh connection created with apex_connect

command

The command or script to execute

error

automatically raise an error if the exit status is non-zero

Value

list containing exit status, buffered raw stdout, and buffered raw stderr

See Also

ssh_exec_internal

Examples

1
2
3
4
5
6
## Not run: 
session <- apex_connect()
out <- apex_execute(session)
rawToChar(out$stdout)

## End(Not run)

Saint-Louis-University/sluhpc documentation built on Oct. 30, 2019, 11:47 p.m.