$encPrompt = wfEscapeShellArg( $prompt );
$command = "read -er -p $encPrompt && echo \"\$REPLY\"";
$encCommand = wfEscapeShellArg( $command );
- $line = wfShellExec( "$bash -c $encCommand", $retval );
+ $line = wfShellExec( "$bash -c $encCommand", $retval, array(), array( 'walltime' => 0 ) );
if ( $retval == 0 ) {
return $line;
break;
}
// Don't let any slaves/backups fall behind...
- $group->get( $type )->waitForBackups();
+ $group->get( $job->getType() )->waitForBackups();
}
} while ( $job ); // stop when there are no jobs
}