Le 12/11/2010 10:46, Gonéri Le Bouder a écrit :
> Hi,
>
> A little Perl question. Do you know if it possible to catpure STDERR with
> this syntax:
> if (open my $handle, "-|", "ddcprobe") {
> ...
> }
Redirect stderr output to stdin: open ($handle, '|', 'dccprobe 2>&1').
Otherwise, you have to use IPC::Open3 or IPC::Run.
--
BOFH excuse #375:Root name servers corrupted.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Fusioninventory-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-devel
