Utilities that make it easier to write child_process.spawn programmes