Add detail to the documentation on the `pty.spawn` function.