GOOS SET BUG #2672

Closed
opened 2026-01-30 23:01:52 +00:00 by claunia · 5 comments
Owner

Originally created by @saxoned on GitHub (Jul 10, 2019).

I set GOOS=linux in windows terminal,
It does not take effect,
But it take effect in CMD

Originally created by @saxoned on GitHub (Jul 10, 2019). I set GOOS=linux in windows terminal, It does not take effect, But it take effect in CMD
Author
Owner

@zadjii-msft commented on GitHub (Jul 10, 2019):

I'm pretty sure this should be working fine:
image

Are you using cmd in Windows Terminal, or powershell?

@zadjii-msft commented on GitHub (Jul 10, 2019): I'm pretty sure this should be working fine: ![image](https://user-images.githubusercontent.com/18356694/60967823-301c1980-a2e1-11e9-8ae0-368141a5adea.png) Are you using `cmd` in Windows Terminal, or `powershell`?
Author
Owner

@saxoned commented on GitHub (Jul 11, 2019):

批注 2019-07-11 090730
like this!

@saxoned commented on GitHub (Jul 11, 2019): ![批注 2019-07-11 090730](https://user-images.githubusercontent.com/32501575/61014800-bd33a100-a3bb-11e9-9c1a-8842a9be4287.jpg) like this!
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 11, 2019):

Friend, that's just powershell. Powershell doesn't use % for environment variables.

@DHowett-MSFT commented on GitHub (Jul 11, 2019): Friend, that's just powershell. Powershell doesn't use `%` for environment variables.
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 11, 2019):

Here is a helpful resource about how to use environment variables from powershell.

@DHowett-MSFT commented on GitHub (Jul 11, 2019): [Here](https://ss64.com/ps/syntax-env.html) is a helpful resource about how to use environment variables from powershell.
Author
Owner

@saxoned commented on GitHub (Jul 11, 2019):

ok,thanks very much~

@saxoned commented on GitHub (Jul 11, 2019): ok,thanks very much~
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2672