admin管理员组文章数量:1122832
Here is the command I want to run in the Windows Terminal:
pm2 start C:\Users\User\AppData\Roaming\npm\node_modules\http-server\bin\http-server --name http-server-app -- --port 3000
If I run it in the Windows Terminal, I will get this error:
error: unknown option `--port'.
The same error will appear in the Powershell, but it will succeed in the Command Line.
Is there a way to solve this problem?
My Windows Terminal version is 1.21.2911.0
本文标签: Unable to pass command line parameters after the double dash in Windows TerminalStack Overflow
版权声明:本文标题:Unable to pass command line parameters after the double dash in Windows Terminal - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309158a1933918.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论