#!/bin/bash cargo check # cargo test echo "exited with $?" echo "press any key to exit" read -n1 bla