in reply to Re^4: Tk::ExecuteCommand - GUI not responding by executing longer running script
in thread Tk::ExecuteCommand - GUI not responding by executing longer running script

So after all I've got still a small problem here:
When I insert the command output into the text window, it writes squares at the end of some lines (probalby instead of some non-printable end-of-line character)

-> do you know how could I format the string to remove such non-printable characters?

UPDATE:
I solved it with a small character replace before I insert it in the ROText widget in the repeat loop:
$buffer =~ s/\x0D\x0A/\n/g;
  • Comment on Re^5: Tk::ExecuteCommand - GUI not responding by executing longer running script
  • Download Code

Replies are listed 'Best First'.
Re^6: Tk::ExecuteCommand - GUI not responding by executing longer running script
by TGI (Parson) on Feb 13, 2008 at 20:10 UTC

    Have you chomped the command output?

    You could also try something like:

    $output =~ s/\s*$/\n/;


    TGI says moo