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

Re: I am seeking some Tk help

by converter (Priest)
on May 17, 2003 at 12:30 UTC ( #258858=note: print w/ replies, xml ) Need Help??


in reply to I am seeking some Tk help

You're calling exit in child processes, which is actually calling Tk::exit. Tk::exit takes your Tk application down gracefully, and that's what it's trying to do when you call it. Explicitly calling CORE::exit or POSIX::_exit instead of exit in child processes should fix the problem.

The only time those exit calls will be reached is when your exec calls fail. You should probably replace those exit calls with error handling code so you can find out what's failing and why.


Comment on Re: I am seeking some Tk help
Select or Download Code
Re: Re: I am seeking some Tk help
by itodd (Acolyte) on May 17, 2003 at 18:12 UTC

    Thanks converter!

    This indeed was the problem. I can't thank you enought :) ++!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-12-26 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (165 votes), past polls