Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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.

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2018-05-26 02:48 GMT
Find Nodes?
    Voting Booth?