Skip to content

Extending options to the exec command#4

Open
andresigualada wants to merge 1 commit intotpresley:masterfrom
andresigualada:master
Open

Extending options to the exec command#4
andresigualada wants to merge 1 commit intotpresley:masterfrom
andresigualada:master

Conversation

@andresigualada
Copy link

Now you can provide an object called exec_options within the object provided in the constructor.

Like this:

var exec_opts = { pty: true };
var options = {
port: 22,
username: 'example',
exec_options: exec_opts // These options are passed to the native exec() command
}

…called exec_options within the object provided in the constructor.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant