#!/bin/bash # Run both commands in parallel aiq serve --config_file=config.yaml & python frontend.py # Wait for any to exit (optional) wait -n # Exit with status of the first failed process exit $?