pallets / quart

An async Python micro framework for building web applications.
https://quart.palletsprojects.com
MIT License
3.01k stars 164 forks source link

Hot-reload not working on paths with spaces #346

Open OtwakO opened 5 months ago

OtwakO commented 5 months ago

Hot-reloading would fail when the script is in a path with space in it. E.g D:\Python\path with space\main.py would not work but D:\Python\test\main.py would reload just fine.

The exact error message: PS D:\Python\path with space> C:\Users***\AppData\Local\Programs\Python\Python311\python.exe: can't open file 'D:\Python\path': [Errno 2] No such file or directory

Environment: