Launch non-blocking process from powershell

前端 未结 3 1851
梦如初夏
梦如初夏 2021-01-18 01:24

I\'m writing a powershell script that needs to push code to several git repositories simultaneously?

Here\'s the script I have thus far:

param(
    [         


        
3条回答
  •  时光说笑
    2021-01-18 02:05

    You can also use start-process to run each push in an additional command window.

    start-process -FilePath "git" -ArgumentList ("push", $_,  "master", "--fore", "-v") 
    

提交回复
热议问题