Hi,
I'm running into an issue with calling "exec" from an iApp script. I think it has to do with quoting arguments passed to "exec".
Here is the script error:
Saving active configuration...
Script (/Common/test) generated this Tcl error:
script did not successfully complete: (bash: mkdir -p /home/testuser/backup/: No such file or directory
while executing
"exec ssh testuser@192.168.1.50 -q 'mkdir -p /home/test/backup/'" line:13)
The command within the iApp script is:
exec ssh testuser@192.168.1.50 -q 'mkdir -p /home/test/backup/'
I've tried putting the arguments in a list first but still got the same errors.
Can someone point me in the right direction?
Thanks!