http://qs321.pair.com?node_id=11139160


in reply to running system commands, and getting return codes/status

The system call prevents the event loop from running. You could put an $mw->update; call just before the system call, but the real way to handle this kind of thing is to use Tk::IO .

Replies are listed 'Best First'.
Re^2: running system commands, and getting return codes/status
by Anonymous Monk on Nov 27, 2021 at 17:46 UTC

    tybalt: This is REALLY Tk::IO, and not IPC::IO, or *::IO ? I have not heard of Tk::IO. It's not in 'Learning PERL/Tk'. I and doing this from Windoze I need to switch system to view manpage.

      You do not need to switch systems to view the man page. Just use a browser to search "man tk::io". You'll not only find the man page but you'll find other useful references as well.

      I found Tk::IO with my manpage viewer. It looks extremely simple...