Commit 8583e383 authored by Karl Kornel's avatar Karl Kornel
Browse files

Reduce forked process read down to 10 bytes at a time.

This is especially helpful when you're looking at output on the terminal.
parent 13cf4a39
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -192,7 +192,7 @@ EOF
	my $analysis_pid = open3($input_handle, $output_handle,
	                         0, @RUNCOMMAND);
	close($input_handle);
	while (read($output_handle, $analysis_buffer, 100)) {
	while (read($output_handle, $analysis_buffer, 10)) {
		log_msg($analysis_buffer);
		$analysis_buffer = '';
	}