set_recovery_proc
Description:
enable or disable the recovery process
If this is called with the parameter false
then
launch does not create a recovery process. The purpose of the recovery process is to stop runaway hypervisor processes in the case where
the main program aborts abruptly.
This only has any effect if called before launch, and the default is true.
About the only time when you would want to disable this is if the main process will fork itself into the background ("daemonize" itself). In this case the recovery process thinks that the main program has disappeared and so kills the hypervisor, which is not very helpful.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |