Should note if this destroys the IOStreams associated with the process, or if those need to be closed manually.