diff --git a/example/toShip1-CLICommandRequest1.json b/example/toShip1-CLICommandRequest1.json index 37d9c7c..0886913 100644 --- a/example/toShip1-CLICommandRequest1.json +++ b/example/toShip1-CLICommandRequest1.json @@ -1,6 +1,6 @@ [ { - + "label":"cli-command-executed-result", "toNode": "ship1", "data": ["bash","-c","sleep 3 & tree ./"], "method":"CLICommandRequest", diff --git a/subscriber_method_types.go b/subscriber_method_types.go index 280e4e2..0ce8db0 100644 --- a/subscriber_method_types.go +++ b/subscriber_method_types.go @@ -530,7 +530,7 @@ func (m methodCLICommandRequest) handler(proc process, message Message, node str // Prepare and queue for sending a new message with the output // of the action executed. - newReplyMessage(proc, message, CLICommandReply, out) + newReplyMessage(proc, message, TextLogging, out) } }()