in reply to Re^6: How to perform a subroutine run in cpan Tk::ExecuteCommand module
in thread How to perform a subroutine run in cpan Tk::ExecuteCommand module

Not directly with that module.

I don't use Tk, so I don't really know alternatives to that, but I assume that you can look at the source code and adapt it so your callback gets run in a fileevent callback for the handle to the child process.

  • Comment on Re^7: How to perform a subroutine run in cpan Tk::ExecuteCommand module
  • Download Code

Replies are listed 'Best First'.
Re^8: How to perform a subroutine run in cpan Tk::ExecuteCommand module
by Janish (Sexton) on Jun 25, 2014 at 08:39 UTC

    Thank you Corion, I would be very much thankful if you could show a sample base on my code. I have been looking around for weeks to fix this matter, even there are sample codes available (actually I've looked into the filevent for the past days but not really get what is that about) but I could hardly apply them in depth base on my understanding on it. A real sample will help me a lot if you're not hesitate.

      What part of "I don't use Tk" leads you to asking me for sample code (in Tk)?

        Thanks Corion, I must have misread that part. Thanks again for all your repies.