in reply to Re: How to perform a subroutine run in cpan Tk::ExecuteCommand module
in thread How to perform a subroutine run in cpan Tk::ExecuteCommand module
Hi Zentara, I tried to apply your hint of can use the configure command every where finally enable my output result shown on the text widget. Thank you! Though there's seem to have the extra entry and button in the form, but it at least solve my problem on showing test in the widget. However is there a way to print plain font to the text widget in Tk::ExecuteCommand say if I don't want to set a couple of mini scripts for simple info message? I tried to print this to the text widget, but it execute like treating it as a script, complaining missing file or directory but it is in fact it is just a pure info text to user.
My code as below
my $first_line = "Start running project 1...please wait"; $ec_pc->configure(-command=> $first_line); $ec_pc->execute_command; $ec_pc->update;
And, below is what is shown within the test widget:
'Start running project 1...please wait' : No such file or directory
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to perform a subroutine run in cpan Tk::ExecuteCommand module
by zentara (Cardinal) on Jun 26, 2014 at 11:00 UTC | |
by Janish (Sexton) on Jun 27, 2014 at 05:22 UTC | |
by Janish (Sexton) on Jun 27, 2014 at 07:20 UTC | |
by zentara (Cardinal) on Jun 27, 2014 at 10:37 UTC | |
by Janish (Sexton) on Jun 30, 2014 at 02:27 UTC | |
by zentara (Cardinal) on Jun 30, 2014 at 09:21 UTC | |
by Janish (Sexton) on Jun 30, 2014 at 02:34 UTC |