Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Details of filehandles

by Joost (Canon)
on Oct 28, 2009 at 00:06 UTC ( #803544=note: print w/ replies, xml ) Need Help??


in reply to Details of filehandles

Are you using POE::Wheel::Run or something else to set up the IO? P::W::Run has specific methods for catching stdout and stderr.

As usual, it'll probably help if you can post some code that demonstrates the problem.

Edit: the unix program lsof will list open filehandles for all processes, which may be useful.


Comment on Re: Details of filehandles
Download Code
Replies are listed 'Best First'.
Re^2: Details of filehandles
by setuk (Initiate) on Oct 28, 2009 at 10:21 UTC

    I use P::W:R but then this calls subclasses that spawn interactive telnet sessions with remote devices.

    Im trying to identify at the point i try i send a message back where STDERR and STDOUT are pointed to as i think one of the subclasses has it.

    i'll see what i can come up with via lsof

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2015-07-30 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls