#!/bin/sh command=" xxxxx" cleanup() { killall -9 vector_max_power_cache } trap cleanup SIGINT eval $command