No such thing as a small change | |
PerlMonks |
Re: I am seeking some Tk helpby converter (Priest) |
on May 17, 2003 at 12:30 UTC ( [id://258858]=note: print w/replies, xml ) | Need 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.
In Section
Seekers of Perl Wisdom
|
|