문제

I have created a bat file which calls selenium server called run-selenium-server.bat which has:

java -jar D:\temp\selenium-server\selenium-server.jar

Also I have added in my project properties "Build Events" the pre-build event command line:

"$(SolutionDir)..\references\selenium-server\run-selenium-server.bat"

The path is correct but when I build the project: Visual Studio 2010 just hangs and I have to open Process Explorer to kill java process.

I noticed Output window is showing the pre-build command output. Is there a way to run this bat file as a separate DOS process directly from Visual Studio?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top