Skip to content

Function: formatSshCommand() ​

ts
function formatSshCommand(executable, args): string;

Joins an executable and its arguments into a POSIX shell command that can be pasted as is.

Parameters ​

ParameterType
executablestring
argsstring[]

Returns ​

string