I’m trying to start a process within a testing framework which is written in Java, but the process is acting somehow different. The “log in” button freezes. The problem can be
fixed by closing the testing framework which started the process
There is -NO- problem when the process is started by the user.
(via explorer, visual studio, cmdline && DURING runtime of testing framework)
ProcessBuilder pb = new ProcessBuilder(commands);
pb.directory(workingDirectory);
and
process = runtime.exec(commands, null, workingDirectory);
fail to deliver proper results. The behavior of the process is still different to a process which would be created with a double click on the application icon. the application is written in native c++
How do I start a process -exactly- like Windows7 would do it?
Make sure to read the process streams in order to resolve blocking issues.