spawn pre-upgrade scripts as child processes