Thanks for the suggestion grandfather but my problem is even after using 2>&1 as shown above,I still see stderr (not in client view messages)getting printed on the command prompt.I want to save it to the same variable "$p4where_output" and then proceed further
In reply to Re^2: How to stop printing the output of a command on screen when the command fails?
by perl_mystery
in thread How to stop printing the output of a command on screen when the command fails?
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |