use Win32::Service to start the service(my pref, i'd rather keep it 'inside'
of perl)..
then use Win32::GUI::Timer to set a timer to call your tail until you're
happy
there's also a File::Tail module on cpan that emulates the tail
proggie(http://search.cpan.org/search?dist=File-Tail)





HTH> tony

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Adam W. Klaum
Sent: Monday, October 16, 2000 11:34 PM
To: Win32 GUI
Subject: [perl-win32-gui] IPC, Fork, etc. etc.


I am trying to create the following behavior in my Perl program and am
having major trouble with external command execution and waiting and
whatnot.  Here is what I would like to occur.

        1. An external "Net Start" command is run to start an NT service.
        2. Simultaneously a tail is run on a logfile to show the output of the
service startup.
        3. The results of the tail are written to a Win32::GUI field or textbox
(something that can scroll automatically but retain a history.
        4. When the service has started successfully or failed the tail stops
running.

Any help would be appreciated.

Adam W. Klaum
[EMAIL PROTECTED]




Reply via email to