Use case: I need to start appium server on CI Jenkins and run tests right after that. Tests don't start because appium server starting in debug mode and doesn't switch to another command. So i have jenkins on Windows machine with the following build steps (as Windows batch command):
- start /B node path_to_appium_server\appium.js --address 127.0.0.1 --port 4723
- timeout 10
- "path_to_tests_runner\vstest.console.exe" "path_to_dll\test.dll" And in this case, my tests cannot started because jenkins terminate first process (with appium).