IO - Online Linux Manual Page

Section : 3pm
Updated : 2020-11-09
Source : perl v5.32.0
Note : User Contributed Perl Documentation

NAMETk::IO − high level interface to Tk's 'fileevent' mechanism

SYNOPSIS​ my $fh = Tk::IO−>new(−linecommand => callback, −childcommand => callback); ​ $fh−>exec("command") ​ $fh−>wait ​ $fh−>kill

WARNINGINTERFACES TO THIS MODULE MAY CHANGE AS PERL'S IO EVOLVES AND WITH PORT OF TK4.1

DESCRIPTIONTk::IO is now layered on perl's IO::Handle class. Interfaces have changed, and are still evolving. In theory C methods which enable non-blocking IO as in earlier Tk−b* release(s) are still there. I have not changed them to use perl's additional Configure information, or tested them much. Assumption is that exec is used to fork a child process and a callback is called each time a complete line arrives up the implied pipe. line should probably be defined in terms of perl's input record separator but is not yet. The −childcommand callback is called when end-of-file occurs. $fh>wait can be used to wait for child process while processing other Tk events. $fh>kill can be used to send signal to child process.

BUGSStill not finished. Idea is to use exec to emulate system in a non-blocking manner.
0
Johanes Gumabo
Data Size   :   5,057 byte
man-Tk::IO.3pmBuild   :   2025-03-22, 13:26   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   7 / 1,208,789
Visitor ID   :     :  
Visitor IP   :   3.21.28.69   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 25.03.22
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36


Very long time ago, I have the best tutor, Wenzel Svojanovsky. If someone knows the email address of Wenzel Svojanovsky, please send an email to johanesgumabo@gmail.com.
Help me, linux0001.com will expire on July 16, 2025. I have no money to renew it. View detail

If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|254|Tk::IO.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|160|Tk::IO.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|254|Tk::IO.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|160|Tk::IO.3pm|43|'br══─}─══ |'br══─}─══ )