I have a powershell script, which start a java application through a batch file.
the powershell doesn't exit because the java (processs) is still running,
I cant use taskkill because I need the java to keep running,
the process is automated with TeamCity so I can't just close the CMD window manually.
Any suggestions?