in reply to Piping output from child to parent Tk widget

fork creates a new process and variables are not shared between the parent process and child process, so either you use threads ( to share variables ) or you use Inter Process Communication to communicate the child with the parent. My preference is to use threads

  • Comment on Re: Piping output from child to parent Tk widget

Replies are listed 'Best First'.
Re^2: Piping output from child to parent Tk widget
by Ohad (Novice) on Jul 01, 2010 at 13:45 UTC
    Hi,

    Thanks for the quick response, after a little checking, it turns out that one needs a perl-threads build to use threads, the perl I'm using is of my work place, and they dont support a threads version of perl.

    Can you elaborate on a different sulotion?