Using such restriction breaks the interactive user interface, and it
doesn't make sense to have wall time limit when waiting for user input.
Change-Id: Id8fa8e9f0d0df58aa879e7bc83bec2a55674b4ab
$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;