thanks guys i think adding "\" made the difference
($out,$err) = $ssh->capture2("zonecreate \"test1\", \"20:00:00:11:0d:3 +4:56:00\""); ($out,$err) = $ssh->capture2("echo yes\|cfgsave");
thanks friends again for help
In reply to Re^4: issue with passing yes to the output of a command
by janasec
in thread issue with passing yes to the output of a command
by janasec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |