I am trying to get some command output from PaloAlto firewall. But unfortunately commands are landing to device in a wrong way.
Like if i am using "show system info" it is going one by one word but if i do only "show" it is executing properly.
I am using the script below
script = "run show system info"
transferdata = swis.invoke('Cirrus.ConfigArchive', 'ExecuteScript', [nodeId], script, False)
actually when I am capturing, It is coming like below in notepad and no other output
run show system info
run
indranil-temp@-PA3220-01-NYP(active)# run show
indranil-temp@PA3220-01-NYP(active)# run show system
But if i use on "show" it is gathering the all the output. Same script is working for all cisco devices.
Can anyone help me on this.