in reply to Getting output on frame instead of terminal (Perl-Tk)

When you click a button on the window generated by messageBox(), the popup is destroyed. Any output you subsequently generate (e.g. from your system() calls) cannot be added to the popup text because the popup no longer exists.

-- Ken