Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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.

      Thanks,
      James Mastros,
      Just Another Perl Scribe

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2014-09-17 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (56 votes), past polls