quart icon indicating copy to clipboard operation
quart copied to clipboard

Hot-reload not working on paths with spaces

Open OtwakO opened this issue 1 year ago • 0 comments

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:

  • Python version: 3.11
  • Quart version: 0.19.6

OtwakO avatar Jun 05 '24 19:06 OtwakO