botalka/run.sh
Egor Matveev 6a8f18300b
All checks were successful
Deploy Dev / Build (pull_request) Successful in 7s
Deploy Dev / Push (pull_request) Successful in 9s
Deploy Dev / Deploy dev (pull_request) Successful in 11s
fix
2025-06-15 16:40:44 +03:00

13 lines
212 B
Bash

#!/bin/bash
# Start the first process
python3 main.py $1 &
# Start the second process
# python3 main.py metrics &
# Wait for any process to exit
wait -n
# Exit with status of process that exited first
exit $?