Fixed autorun
This commit is contained in:
7
autorun.sh
Normal file → Executable file
7
autorun.sh
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/bash
|
||||||
|
|
||||||
git stash
|
git stash
|
||||||
git pull
|
git pull
|
||||||
@@ -10,4 +10,7 @@ cargo run --release --bin audio_engine &
|
|||||||
AUDIO_ENGINE_PID=$!
|
AUDIO_ENGINE_PID=$!
|
||||||
|
|
||||||
cargo run --release --bin gui -- -f&
|
cargo run --release --bin gui -- -f&
|
||||||
GUI_PID=$!
|
GUI_PID=$!
|
||||||
|
|
||||||
|
wait -n "$JACK_PID" "$AUDIO_ENGINE_PID" "$GUI_PID"
|
||||||
|
kill "$JACK_PID" "$AUDIO_ENGINE_PID" "$GUI_PID"
|
||||||
Reference in New Issue
Block a user