Simplified process spawning with buffered output in a callback