Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: text from 2nd file not displaying in scrolledwindow

by amboxer21 (Sexton)
on Feb 20, 2014 at 02:18 UTC ( [id://1075531]=note: print w/replies, xml ) Need Help??


in reply to Re: text from 2nd file not displaying in scrolledwindow
in thread text from 2nd file not displaying in scrolledwindow

This works but only when i hit control + c in the terminal. Which gives control back to the parent window/process.

sub sixad { for my $t ( @file1 ) { if( $t =~ m/No controller found on USB busses./ ) { &warning; return } } if ( $Count gt 0 ) { open my $OutFile2, "+>", "tmp2", or die "Can't open file: $!"; my @sixad = qq/'\/usr\/bin\/sixad --start 2>tmp2'/; print system qq( '@sixad' ); my @file2 = <$OutFile2>; while( <@file2> ) { $Pane->insert("end", $_); } return; close($OutFile2); } else { &warning; return; } };

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1075531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-24 01:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found