On May 11, 9:29 pm, dery...@gmail.com (C.DeRykus) wrote:
On May 11, 12:56 am, weizhong@gmail.com (Weizhong Dai) wrote:
...
$pid = open(my $readme, program arguments |)
or die Couldn't fork: $!\n;
my $timeout = 5;
eval {
local $SIG{ALRM} = sub { die timeout; };
On May 11, 12:56 am, weizhong@gmail.com (Weizhong Dai) wrote:
Hi all,
-
$pid = open(README, program arguments |) or die Couldn't fork: $!\n;
while (README) {
# ...}
close(README)
--
my problem is: I read from
Hi all,
-
$pid = open(README, program arguments |) or die Couldn't fork: $!\n;
while (README) {
# ...
}
close(README)
--
my problem is: I read from README, but if waiting for next input is
timeout, end reading. Is there any
2010/5/11 Weizhong Dai weizhong@gmail.com:
Hi all,
-
$pid = open(README, program arguments |) or die Couldn't fork: $!\n;
while (README) {
# ...
}
close(README)
--
my problem is: I read from README, but if waiting
Weizhong Dai weizhong@gmail.com asked:
-
$pid = open(README, program arguments |) or die Couldn't fork:
$!\n;
while (README) {
# ...
}
close(README)
--
my problem is: I read from README, but if waiting for next