set -e | |
# Start ComfyUI | |
python main.py --listen & | |
# Start wsj-server | |
python wsj-server.py & | |
# Wait for any process to exit | |
wait -n | |
# Exit with status of process that exited first | |
exit $? |
set -e | |
# Start ComfyUI | |
python main.py --listen & | |
# Start wsj-server | |
python wsj-server.py & | |
# Wait for any process to exit | |
wait -n | |
# Exit with status of process that exited first | |
exit $? |