<?xml version="1.0" encoding="windows-1252"?>
<node id="545409" title="Running external command from perl but cannot capture output" created="2006-04-24 18:07:24" updated="2006-04-24 14:07:24">
<type id="115">
perlquestion</type>
<author id="545402">
Syco54645</author>
<data>
<field name="doctext">
Hello,
hoping that someone can help me here.  What i am doing is running the command 
&lt;code&gt;
mac "foo.ape" -v
&lt;/code&gt;
with perl by doing 
&lt;code&gt;
@foobar=`mac \"foo.ape\" -v`;
&lt;/code&gt;

i know that this would usually suppress the output of the called program and store the output into the variable @foobar, but this is not the case.  it does in fact store the output, but it does not suppress it.  so instead of a nice clean terminal when running my script i get
&lt;code&gt;
--- Monkey's Audio Console Front End (v 3.99) (c) Matthew T. Ashland ---
Verifying...
Progress: 7.1% (52.8 seconds remaining, 4.0 seconds total)
&lt;/code&gt;

what i am trying to do is not have any of that output and just print a message like foo.ape file is ok or something similar.  that is not the important part as i can accomplish that easily.  what is important is that i just want that output to stop so that i can replace it.

any help would be greatly appreaciated

-Syco54645
</field>
</data>
</node>
