mirror of
https://github.com/Radiquum/YAMPD.git
synced 2025-05-20 07:39:35 +05:00
format
This commit is contained in:
parent
3ef10c07cf
commit
c74170a14d
6 changed files with 20 additions and 8 deletions
10
dev.py
10
dev.py
|
@ -11,8 +11,12 @@ if __name__ == "__main__":
|
|||
# TODO: handle multiple package managers line npm(node), deno, yarn
|
||||
# TODO?: install node deps automatically
|
||||
|
||||
gui_proc = subprocess.Popen(["bun", "run", "dev"], cwd="./gui", env=environment, shell = True)
|
||||
app_proc = subprocess.Popen(["python", "main.py"], cwd="./src", env=environment, shell = True)
|
||||
gui_proc = subprocess.Popen(
|
||||
["bun", "run", "dev"], cwd="./gui", env=environment, shell=True
|
||||
)
|
||||
app_proc = subprocess.Popen(
|
||||
["python", "main.py"], cwd="./src", env=environment, shell=True
|
||||
)
|
||||
|
||||
try:
|
||||
while gui_proc.poll() is None or app_proc.poll() is None:
|
||||
|
@ -21,4 +25,4 @@ if __name__ == "__main__":
|
|||
except KeyboardInterrupt:
|
||||
gui_proc.terminate()
|
||||
app_proc.terminate()
|
||||
print("Processes Terminated")
|
||||
print("Processes Terminated")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue