Skip to content

Hot-reload not working on paths with spaces #346

Description

@OtwakO

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions