Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: runn command & get outut

by archen (Pilgrim)
on Jan 12, 2002 at 22:43 UTC ( [id://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.

      Thanks,
      James Mastros,
      Just Another Perl Scribe

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 12:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found