Re: Unable to store the output of a command

2007-05-21 Thread Srinivas
divya wrote: Hi Andy, Thanks for the reply. I tried it out, but still not able to store error msgs. What does 2>&1 mean? This means redirecting standard error to standard output. -srini Is there any other way out. Thanks, Divya Andy Greenwood wrote: On 5/18/07, divya <[EMAIL PROTECTE

Re: Unable to store the output of a command

2007-05-21 Thread divya
Hi Andy, Thanks for the reply. I tried it out, but still not able to store error msgs. What does 2>&1 mean? Is there any other way out. Thanks, Divya Andy Greenwood wrote: On 5/18/07, divya <[EMAIL PROTECTED]> wrote: Hi, I want to store the output of following command: "vcover merge o

Re: Unable to store the output of a command

2007-05-18 Thread Andy Greenwood
On 5/18/07, divya <[EMAIL PROTECTED]> wrote: Hi, I want to store the output of following command: "vcover merge outfile in1 in2" I tried : 1) @result = `vcover merge outfile in1 in2`; 2) system("vcover merge outfile in1 in2 > @result"); I can see some error displays on the screen. But these ar

Unable to store the output of a command

2007-05-18 Thread divya
Hi, I want to store the output of following command: "vcover merge outfile in1 in2" I tried : 1) @result = `vcover merge outfile in1 in2`; 2) system("vcover merge outfile in1 in2 > @result"); I can see some error displays on the screen. But these are not getting stored in @result. Kindly ple