Make PowerShell ignore semicolon

后端 未结 6 2397
清歌不尽
清歌不尽 2021-02-19 06:54

I want to execute a cmd on PowerShell and this command uses semicolons. Then PowerShell interprets it as multiple commands. How do I make PowerShell ignore the semicolons and ex

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-19 06:59

    Try using Start-Process to run MSbuild then pass the rest as a value with -Argument.

提交回复
热议问题