Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Capturing stats from sox

by diotalevi (Canon)
on Jul 28, 2004 at 20:39 UTC ( #378207=note: print w/replies, xml ) Need Help??


in reply to Capturing stats from sox

Oh! Here I thought you were asking about Sarbanes/Oxley, the happening thing in business these days.

The output is probably going to STDERR instead of STDOUT which is captured. Try these two ideas.

# Redirect output from STDERR to STDOUT $out = `sox ... 2>&1`
{ # Temporarily alias STDERR to STDOUT. local *STDERR = *STDOUT; $out = `sox blah.wav -e stat`; } print $out;

Replies are listed 'Best First'.
Re^2: Capturing stats from sox
by biosysadmin (Deacon) on Jul 29, 2004 at 07:03 UTC
    Oh! Here I thought you were asking about Sarbanes/Oxley, the happening thing in business these days.

    This is horribly unrelated, but I was ready to talk about using LWP to download baseball statistics.

Re^2: Capturing stats from sox
by jamesjyu (Acolyte) on Jul 28, 2004 at 20:45 UTC
    great! thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://378207]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2019-12-14 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?