[pve-devel] [PATCH 1/5] add qemu_img_convert

Dietmar Maurer dietmar at proxmox.com
Fri Apr 26 13:36:44 CEST 2013


> +	my $parser = sub {
> +	    my $line = shift;
> +	    print $line."\n";
> +	};
> +
> +	eval  { run_command($cmd, timeout => undef, errfunc => sub {}, outfunc
> => $parser); };

Why do you suppress messages to stderr, and why do we need a $parser here?




More information about the pve-devel mailing list