Skip to content

Conversation

@mohsinkhan85090
Copy link

What

This pull request fixes the issue with running lore server on Windows.
It updates the env.py and main.py to use subprocess.run instead of os.execv for invoking Flask, and ensures the correct path to flask.exe inside the virtual environment is used on Windows.

Why

Previously, running lore server on Windows failed with a FileNotFoundError because os.execv could not locate flask.exe.
This change ensures cross-platform compatibility, allowing Windows users to run the server without errors.

@mohsinkhan85090
Copy link
Author

Hi ,
This PR fixes the Windows support issue for running lore server by using subprocess.run and ensuring the correct path to flask.exe inside the virtual environment.

Could someone with write access please review it? Thanks!

@mohsinkhan85090
Copy link
Author

Hi @joseph-instacart, could you please review this PR? It fixes Windows support for running lore server and ensures cross-platform compatibility. Thanks!

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.

1 participant