Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd上为什么找不到匹配的-env参数 #109

Open
1426919587 opened this issue Feb 29, 2024 · 0 comments
Open

cmd上为什么找不到匹配的-env参数 #109

1426919587 opened this issue Feb 29, 2024 · 0 comments

Comments

@1426919587
Copy link

在win上
go run main.go -env pro 可以运行

在cmd上报错
start go_build_yunhai.exe -env pro
Start-Process : 找不到与参数名称“env”匹配的参数。
所在位置 行:1 字符: 27

  • start go_build_yunhai.exe -env pro
  •                       ~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Start-Process],ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant