Jacques44 / node-red-contrib-bigssh

remote command using ssh big node
Apache License 2.0
8 stars 12 forks source link

Command Line Arguments #18

Closed ryancasler closed 4 years ago

ryancasler commented 4 years ago

Okay, I'm sorry, but I can't figure this out. If I put this in the command line, it works perfectly: vlc --play-and-exit http://url.of.sound.fle

But, if I have it set up like this, it doesn't work.

image

What is the deal? How am I supposed to pass the payload to be appended to the end of the command?

Update: You also have to have "don't send payload to the command" checked?!?! You really should include that in the notes for the node.

Jacques44 commented 4 years ago

Hello, please set the full path of the vlc command as once connected, ssh doesn't know about any path

Tell me

ryancasler commented 4 years ago

I did, that wasn't the problem. The problem was that in addition to "Payload is an argument", you also have to have "Do not send payload to the command" checked in order for the whole command to be sent via SSH. Not very intuitive.