-Change psh semantics to track children in a more accurate fashion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
de9bd36aaf
commit
0eb3645d36
@ -120,11 +120,13 @@ foreach (@nodes) {
|
||||
$inputs->add($child);
|
||||
$nodehdl{$child} = $node;
|
||||
}
|
||||
while ($inputs->count and $children) {
|
||||
while ($inputs->count) {
|
||||
processoutput($inputs);
|
||||
}
|
||||
while (processoutput($inputs)) {};
|
||||
wait;
|
||||
while (wait != -1) {
|
||||
yield;
|
||||
}
|
||||
my $exitcode=0;
|
||||
foreach (values %pids) {
|
||||
my $possible_codes = join ",",keys %foundcodes;
|
||||
|
Loading…
Reference in New Issue
Block a user