in reply to How to stop printing the output of a command on screen when the command fails?

redirect stderr to null
my $null = File::Spec->devnull; my $out = ` ... 2>$null`;
  • Comment on Re: How to stop printing the output of a command on screen when the command fails?
  • Download Code

Replies are listed 'Best First'.
Re^2: How to stop printing the output of a command on screen when the command fails?
by Anonymous Monk on Dec 24, 2010 at 05:05 UTC

    I want to save the stderr output.I want to store the output and match it to "file(s) not in client view" ,based on this match i want to proceed further