perlnu has asked for the wisdom of the Perl Monks concerning the following question:
# get rid of top_frame $top_frame->packForget(); # create and display text widget my $tw = $second_frame->Text()->pack(); my $first_line = "Copying project...please wait"; $tw->insert( 'end', $first_line ); my $final_copy_project_command = &create_copy_project_command; open( COPY_PROJ, "$final_copy_project_command|" ); while ( my $copy_proj_line = (<COPY_PROJ>) ) { $tw->insert( 'end', $copy_proj_line ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to display output of a process in text widget in real time
by Anonymous Monk on Jul 12, 2011 at 02:33 UTC | |
|
Re: how to display output of a process in text widget in real time
by Marshall (Canon) on Jul 12, 2011 at 08:49 UTC | |
by perlnu (Initiate) on Jul 12, 2011 at 17:56 UTC | |
by Marshall (Canon) on Jul 12, 2011 at 18:18 UTC | |
by perlnu (Initiate) on Jul 12, 2011 at 22:20 UTC | |
by Marshall (Canon) on Jul 14, 2011 at 20:00 UTC | |
|
Re: how to display output of a process in text widget in real time
by zentara (Cardinal) on Jul 12, 2011 at 15:29 UTC |