Skip to content

Conversation

@Walt280
Copy link
Contributor

@Walt280 Walt280 commented Jul 11, 2020

Change EMSDK_SET_ENV to output correct filename for powershell.
Rename write_set_env_bat to write_set_env_script.

Rename write_set_env_bat to write_set_env_script.
Copy link
Collaborator

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Much appreciated.

I guess we should try to add some testing for this stuff.

Also, do you know of a way to can evaluate the result of stdout, like we do with other shells? This would avoid going via the filesytem at all (which is a little racy).

@sbc100 sbc100 merged commit c494899 into emscripten-core:master Jul 11, 2020
@Walt280
Copy link
Contributor Author

Walt280 commented Jul 11, 2020

According to this StackOverflow, it doesn't look like "sourcing" strings works that well in Powershell.

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

Successfully merging this pull request may close these issues.

2 participants