ksh not found when executing command using the sshCommand.Execute

May 19, 2015 at 7:54 AM
I'll appreciate your help with the following issue.
i am trying to execute command using the following syntax :

SshCommand command = cSSH.CreateCommand("isql -Uun -Ppass -i/Directory1/Directory2/Directory3/Directory4/filename.sql -o/Directory1/Directory2/Directory3/Directory4/log/filename.log");


when running it from shell the command success but when I run it using the ssh i get "ksh isql : not found"

anyone knows how can I overcome this issue?

thank you in advance!