问题
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