in reply to Re^3: Second background process is pausing the gui
in thread Second background process is pausing the gui

You can watch it here (YouTube warning!)

Interestingly, when I click into the area to be filled, the application responds, but it immediately gets stuck again.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^5: Second background process is pausing the gui
by tybalt89 (Monsignor) on Jun 12, 2020 at 20:06 UTC

    Best guess so far: you are dumping (hundreds of)? thousands of lines into the text widget. This is what is taking time.

    Sort of confirmed, instead of just 'find' try

    q( find / 2>/dev/null | perl -pe '$| = 1; select undef, undef, undef, +0.01' )
    This feeds in the lines just a little slower :)

      Yes, it helps.
      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]