0

Java application (testng tests) is started from command line with a process (user, not system) that is running with Session ID = 0, so java.exe process is also running with Session ID = 0:

java -cp "/opt/testng-6.8.jar:bin" org.testng.TestNG testng.xml

As all UI is blocked for this session I've got message displayed:

enter image description here

Is there any possibility to start it with another Session Id from zero session?

Ivan Gerasimenko
  • 2,381
  • 3
  • 30
  • 46

1 Answers1

0

Here is a post (see answer by @jpw) about usage of PsExec.exe to run in different Session Id, e.g.:

psexec.exe -i 3 cmd.exe
Community
  • 1
  • 1
Ivan Gerasimenko
  • 2,381
  • 3
  • 30
  • 46