I ran your program myself, but didn't get any such error.
What happens if you specify the full pathname of ssh ... /usr/local/bin/ssh?
In reply to Re: What is the path used by open2
by liverpole
in thread What is the path used by open2
by jayakumark
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |