| Functions for processes and process groupsOpen a pair of connected filehandlesDaftar Isi - pipe READHANDLE,WRITEHANDLE
Opens a pair of connected pipes like the corresponding system call.Note that if you set up a loop of piped processes, deadlock can occurunless you are very careful. In addition, note that Perl's pipes useIO buffering, so you may need to set $| to flush your WRITEHANDLEafter each command, depending on the application. See IPC::Open2, IPC::Open3, andBidirectional Communication with Another Process in perlipcfor examples of such things. On systems that support a close-on-exec flag on files, that flag is seton all newly opened file descriptors whose fileno s are higher than the current value of $^F (by default 2 for STDERR ). See $^F in perlvar. |
| |
|