Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^3: Watching LXTerminal for outputs (secrets)

by Anonymous Monk
on Feb 04, 2013 at 02:33 UTC ( #1016887=note: print w/replies, xml ) Need Help??

in reply to Re^2: Watching LXTerminal for outputs (secrets)
in thread Watching LXTerminal for outputs

Thank you but I have read most of the documentation on this already.

What? Why not use the modules? Or view their source to see what they do?

My script is within an infinite while loop and I cannot have mpg321 stalling the script.

POE is all about infinite loops, use POE::Component::Player::Mpg123, it won't stall

So I have a "system("mpg321 song.mp3 &")

That probably won't work, you should use IPC::Open3,like Audio::Play::MPG123 does ( [jargon://UTSL), see also perlipc

  • Comment on Re^3: Watching LXTerminal for outputs (secrets)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-10-21 19:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (289 votes). Check out past polls.