c: add shell-spawning demo snippet