This project is read-only.

ksh not found when executing command using the sshCommand.Execute

May 19, 2015 at 8:54 AM
Hello,
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");

command.Execute();

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!