mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-07-11 22:51:38 -07:00
feat(cli:serve): use the full executable path to python
This commit is contained in:
@@ -21,7 +21,7 @@ def serve(host, port):
|
||||
|
||||
from ...constants import APP_DIR
|
||||
|
||||
args = ["python", "-m", "fastapi", "run"]
|
||||
args = [sys.executable, "-m", "fastapi", "run"]
|
||||
if host:
|
||||
args.extend(["--host", host])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user