mirror of
https://github.com/katanemo/plano.git
synced 2026-05-03 21:02:56 +02:00
swap out python to sys.executable to support uv tool install workflows (#544)
This commit is contained in:
parent
d215724864
commit
5d5762ac20
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ def start_server(port=51000, foreground=False):
|
|||
if foreground:
|
||||
process = subprocess.Popen(
|
||||
[
|
||||
"python",
|
||||
sys.executable,
|
||||
"-m",
|
||||
"uvicorn",
|
||||
"src.main:app",
|
||||
|
|
@ -85,7 +85,7 @@ def start_server(port=51000, foreground=False):
|
|||
else:
|
||||
process = subprocess.Popen(
|
||||
[
|
||||
"python",
|
||||
sys.executable,
|
||||
"-m",
|
||||
"uvicorn",
|
||||
"src.main:app",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue