Thank you very much da_rinkes!! you gave me the seed of the solution.
When the error was display, i realise that i have to load all the enviroments variables. Then i create an exe file to load all this varibles (LD_LIBRARY_PATH, Informixserver,database...)
Finally my .Net Code is very similar as yours. The only change was:
When the error was display, i realise that i have to load all the enviroments variables. Then i create an exe file to load all this varibles (LD_LIBRARY_PATH, Informixserver,database...)
Finally my .Net Code is very similar as yours. The only change was:
var cmd = ssh.RunCommand(" . .bash_profile \n fglrun /home/genero/ssh.42r");