A memory-conscious alternative to os.fork().