This page last changed on Sep 11, 2015 by thwo.

Hi,

i have some trouble with sending a shell command with two parameters to my raspberry pi.

My python script is written to accept either one or two parameters for execution.

When i ssh to my raspberry with my mac, these two commands work fine :
python myscript.py 3
python myscript.py 3 4

following these instructions i created a command with "shell execution protocol" and the path to my script.
When i fill the command parameter field with "3" it works fine...

BUT!
When i fill the command parameter field with "3 4" nothing happens...

What is the good syntax to send two parameters for a shell command to a python script?

Thanks
(I'm not native speaker, please excuse me for the mistakes)

Document generated by Confluence on Jun 05, 2016 09:33