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

Statically linked version and Windows version #3

Open
mterron opened this issue Jul 2, 2019 · 3 comments
Open

Statically linked version and Windows version #3

mterron opened this issue Jul 2, 2019 · 3 comments

Comments

@mterron
Copy link

mterron commented Jul 2, 2019

The current release depends on linux and glibc.

@ColinChartier
Copy link
Contributor

Windows will be very difficult because sanic wraps bash to include the environment variables reliably -- It should work in something that provides bash like cygwin, however.

@mterron
Copy link
Author

mterron commented Jul 3, 2019

os.Setenv and os.Getenv ? Why do you need bash?

@ColinChartier
Copy link
Contributor

Sanic needs to set sticky env variables in the shell itself, but you can't do that without either sourcing or starting a new shell (you can't reach back into your parent shell and change env variables persistently)

This is all for "sanic env", which passes the SANIC_ENV variable to both build and deploy

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

2 participants