-Fix runcmd3 to close input of command to properly signal end of input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6161 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
37189c8616
commit
bc74953205
@ -903,6 +903,7 @@ sub runcmd3 { #a proper runcmd that indpendently returns stdout, stderr, pid and
|
||||
foreach (@indata) {
|
||||
print $cmdin $_;
|
||||
}
|
||||
close($cmdin);
|
||||
my @handles;
|
||||
while (@handles = $cmdsel->can_read()) {
|
||||
foreach (@handles) {
|
||||
|
Loading…
Reference in New Issue
Block a user