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 .
In Section
Seekers of Perl Wisdom