[ale] Question for perl gurus
Jerry Z. Yu
z.yu at voicecom.com
Wed Mar 5 13:00:48 EST 2003
Proc::Background module is a better one.
------------- quotes from its man page -------------------
NAME
Proc::Background - Generic interface to Unix and Win32
background process management
SYNOPSIS
use Proc::Background;
timeout_system($seconds, $command, $arg1);
timeout_system($seconds, "$command $arg1");
my $proc1 = Proc::Background->new($command, $arg1, $arg2);
my $proc2 = Proc::Background->new("$command $arg1 1>&2");
$proc1->alive;
$proc1->die;
$proc1->wait;
my $time1 = $proc1->start_time;
my $time2 = $proc1->end_time;
On 5 Mar 2003, Fletch wrote:
#
#This is going to sound strange from me, but rather than doing it in
#perl look for the expect timed-run utility.
#
#
#Not that you couldn't do it in perl. If you want to go that route
#look for the IPC::Run module from CPAN, and read perldoc perlipc for
#how to use alarm().
#
#--
#Fletch | "If you find my answers frightening, __`'/|
#fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
#770 294-0820 (m) | scary questions." -- Jules =(___)=
# | U
#_______________________________________________
#Ale mailing list
#Ale at ale.org
#http://www.ale.org/mailman/listinfo/ale
#
Jerry Z. Yu +1-404-487-8544 (O)
systems engineer z.yu at voicecom.com
is support, voicecom, llc www.voicecom.com
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list