Add support for separate subprocesses.

Use this in the wx sample as an example.
Ensure that the wx sample depends on subprocess.