How to run EXE on VSTS Agent hosted machine

烈酒焚心 提交于 2020-12-13 05:36:42

问题


We have release pipeline in the VSTS that runs on a private server using VSTS agent.

At the end of release pipeline there is a commmand line step to start executable (Nginx) file. Which succeeds but executable does not start the nginx process.

I believe process dies as soon as the parent CMD or Powershell window dies.

I have tried both CMD and Powershell (Start "exe" and Start-Process) to execute exe but none seem to be working.

Those commands run perfectly on local computer but not when running by VSTS agent on server.

来源:https://stackoverflow.com/questions/51931577/how-to-run-exe-on-vsts-agent-hosted-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!