Java execute a application in specific session

166 views Asked by At

I am invoking a application on windows xp, 7 machines from remote linux using winexe. But I am not able to execute the application in foreground it executes in background. I tried psexec but no success. Can someone help me?

1

There are 1 answers

0
Xondio On

You have to run the application under the same user which is loged on on the windows-machine and use start @ beginning of the cmd command.