13 lines
210 B
Bash
13 lines
210 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 $? |