Allow calls to execWithCapture to be sensitive to non-zero exit

David Lehman dlehman at redhat.com
Wed Jul 4 02:10:55 UTC 2012


On Tue, 2012-07-03 at 14:21 -0700, Jesse Keating wrote:
> This patch set makes execWithCapture capable of raising an exception if the
> subprocess call returns a non-zero exit code.  The option, fatal, defaults to
> being false.

I'm not crazy about the trickiness of raising OSError, but it'll do the
job.

> 
> Further, we turn this option on when calling zipl to install the boot loader,
> which is bug #730023.
> 
> This patch is for rhel6-branch, as I'm told there will be a different way of
> handling this in newui/master.

Nobody is actually doing the work as of now, though. I'd go ahead and
push to master just in case.

> 
> -jlk
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/anaconda-patches




More information about the anaconda-patches mailing list