An ongoing effort to improve the spawning situation

Version 1.01 - restored build_spawn_cmd() via /bin/sh, for compatibility.