Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: runn command & get outut

by archen (Pilgrim)
on Jan 12, 2002 at 22:43 UTC ( #138303=note: print w/ replies, xml ) Need Help??

in reply to run command & get output

okay, to clarify this question (since a lot of people seem to be taking this the wrong way). oggenc ecodes files from wave files to ogg/vorbis format. As it does so it prints a basic status update (a spinner and the percent of the file done). My understanding is that he wants the status in REAL time somehow. system doesn't give anything back, and the backtic operator only gives output on the final status of what the program output (if memory serves me correctly - I've never tried to capture output of such a program).

Now I don't know how this myself, but maybe my explanation will make things a tad bit more clear(?). Truth be told this might be going about this the wrong way entirely. You can for instance obtain an ogg/vorbis encoding .dll, and interface directly with the .dll instead of trying to capture the status of the command line. But as I said, I don't know how to approach your problem either.

Comment on Re: runn command & get outut
Re: Re: runn command & get outut
by marauder (Novice) on Jan 12, 2002 at 22:46 UTC
    thanks for clarifying things for me. i am going to try & find out how to interface to a DLL.

      The easiest way, BTW, is probably using Inline::C or Inline::CPP. (Not that I have huge amounts of experince in the matter.

      James Mastros,
      Just Another Perl Scribe

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2014-07-11 01:52 GMT
Find Nodes?
    Voting Booth?

    When choosing user names for websites, I prefer to use:

    Results (217 votes), past polls