Programming Perl

Programming PerlSearch this book
Previous: 7.2.39 IPC::Open2 - Open a Process for Both Reading and WritingChapter 7
The Standard Perl Library
Next: 7.2.41 lib - Manipulate @INC at Compile-Time
 

7.2.40 IPC::Open3 - Open a Process for Reading, Writing, and Error Handling

use IPC::Open3;

$pid = open3($WTR, $RDR, $ERR, $cmd_with_args);
$pid = open3($WTR, $RDR, $ERR, $cmd, "arg1", "arg2", ...);

IPC::Open3 works like IPC::Open2, with the following differences:

Warnings given for IPC::Open2 regarding possible program hangs apply to IPC::Open3 as well.


Previous: 7.2.39 IPC::Open2 - Open a Process for Both Reading and WritingProgramming PerlNext: 7.2.41 lib - Manipulate @INC at Compile-Time
7.2.39 IPC::Open2 - Open a Process for Both Reading and WritingBook Index7.2.41 lib - Manipulate @INC at Compile-Time