SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

CommandStart Event

Marks the commencement of a command execution.

Syntax

sshclient.on('CommandStart', [callback])

Callback

The 'callback' is called when the 'CommandStart' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.command

Remarks

Subscribe to this event to be notified about the start of execution of a remote command. The Command parameter indicates the command being started.

This event is fired for all commands in the Commands list, in order. The completion of the command is reported via the CommandCompleted event.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Node.js Edition - Version 20.0 [Build 8165]