allow creation of a Subprocess from an existing child pid
Summary: Add a static method to Subprocess that allows creating a `Subprocess` object from an existing child process ID. This allows creating `Subprocess` objects for children processes that were originally spawned through other APIs than Subprocess itself. This allows using the Subprocess `wait()` and `poll()` APIs for these child processes, and allows passing them to existing parts of the code that expect to work with `Subprocess` objects. Reviewed By: yfeldblum Differential Revision: D19588079 fbshipit-source-id: e29b56be4def659cedfd007ddb3a85e826c0a44c
Showing
Please register or sign in to comment