X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=87c934aa22a5d4a0a36c366d62e9be01dfa5ceab;hp=1ccacdb86e05995154c17eb9128e8f2c5a2780c7;hb=f173543fd207bdc254a5eb75180d82ef25eacae9;hpb=4b53a3737b76cad7aca407a0d9e37fed1d42ef69 diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 1ccacdb..87c934a 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -1526,6 +1526,25 @@ advice before using trademarks in applications. =back"); + ("set_pgroup", (RErr, [Bool "pgroup"], []), -1, [FishAlias "pgroup"], + [], + "set process group flag", + "\ +If C is true, child processes are placed into +their own process group. + +The practical upshot of this is that signals like C (from +users pressing C<^C>) won't be received by the child process. + +The default for this flag is false, because usually you want +C<^C> to kill the subprocess."); + + ("get_pgroup", (RBool "pgroup", [], []), -1, [], + [], + "get process group flag", + "\ +This returns the process group flag."); + ] (* daemon_functions are any functions which cause some action