projects
/
gruntmaster-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40b036b
)
Use waitpid instead of wait in Format.pm
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 21 Apr 2014 16:46:49 +0000
(19:46 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 21 Apr 2014 16:46:49 +0000
(19:46 +0300)
lib/Gruntmaster/Daemon/Format.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Daemon/Format.pm
b/lib/Gruntmaster/Daemon/Format.pm
index 5132fbd7387584d0f4ab8888a526e878c5f06ca3..2678906c70199a9acb29f87064ef66b85204d057 100644
(file)
--- a/
lib/Gruntmaster/Daemon/Format.pm
+++ b/
lib/Gruntmaster/Daemon/Format.pm
@@
-45,7
+45,7
@@
sub mkrun{
my $tle;
local $SIG{ALRM} = sub { kill KILL => $ret; $tle = 1};
alarm $args{timeout} if exists $args{timeout};
my $tle;
local $SIG{ALRM} = sub { kill KILL => $ret; $tle = 1};
alarm $args{timeout} if exists $args{timeout};
- wait;
+ wait
pid $ret, 0
;
alarm 0;
my $sig = $? & 127;
my $signame = sig_name $sig;
alarm 0;
my $sig = $? & 127;
my $signame = sig_name $sig;
This page took
0.011196 seconds
and
4
git commands to generate.