set_pgroup
Description:
set process group flag
If pgroup
is true, child processes are placed into their own process group.
The practical upshot of this is that signals like SIGINT
(from users pressing "^C") won't be received by the child process.
The default for this flag is false, because usually you want "^C" to kill the subprocess. Guestfish sets this flag to true when used interactively, so that "^C" can cancel long-running commands gracefully (see user_cancel).
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |