0

I created a Process with ProcessBuilder class in Java. In ProcessBuilder, in process builder i opened cmd.exe,in task manager a process is opened with cmd.exe and javw.exe for running java application, i want get process id for cmd exe which was started by java ...

1 Answers1

0

The JRE's ProcessBuilder does not provide that functionality, you could try jnr-process instead.

the8472
  • 37,986
  • 4
  • 66
  • 115