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

Python on Windows does not like the path generated by process.cwd() #296

Open
haseebrabbani opened this issue Apr 13, 2023 · 0 comments
Open

Comments

@haseebrabbani
Copy link
Collaborator

in get.python.agent.handlers.ts, we pass the contextPath of the bot project using NodeJS process.cwd(). on Windows, this returns a path like C:\\Users\\ASUS\\my-new-bot and when this is used in the Python script it does not compile i.e. sys.path.append("C:\\Users\\ASUS\\my-new-bot"). ideally we can use Python's path.cwd to get a suitable format

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