[Fusioninventory-devel] [Help] how to capture STDERR with -| open syntax

Gonéri Le Bouder goneri at rulezlan.org
Fri Nov 12 09:46:30 UTC 2010


Hi,

A little Perl question. Do you know if it possible to catpure STDERR with
this syntax:
if (open my $handle, "-|", "ddcprobe") {
...
}

ddcprobe use STDERR to print the output and I can't access to
it throught the $handle file descriptor

Regards,

    Gonéri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-devel/attachments/20101112/8555eea3/attachment.pgp>


More information about the Fusioninventory-devel mailing list