IO::Pty::HalfDuplex::Shell - Internal module used by IO::Pty::HalfDuplex
IO::Pty::HalfDuplex::Shell->new(ctl_pipe => $r1, info_pipe => $r2, command => [@_]);
This module implements the fake shell used by IO::Pty::HalfDuplex, and is not intended to be used directly. The new function runs the shell with command as its only child, and sends its pid in 4 bytes on info_pipe.
Each time an 's' is received on ctl_pipe, the child process is allowed to continue; a 'r' will be transmitted on info_pipe if the process blocks on input, or a 'd' followed by signal and exit status (as bytes) if the process dies.
Copyright 2008-2009 Stefan O'Rear.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 25:
Unknown directive: =BUGS