I had tried the example Exec.java to executed some simple command (e.g. dir, move, etc) on Tectia SSH Server, Windows platform.
The result I got is always result 254, fail. However, when I try Shell.java and execute command in shell, it shows no problem.
I have also tried Exec.java in OpenSSH, AIX platform, but without problem.....
Is there anybody have idea?