mirror of https://github.com/pulumi/pulumi.git
25901d95c4
Uses the new TerminateProcessGroup functionality introduced in #13792 to shut down plugins gracefully. Graceful shutdown takes the following form: - Send a termination signal (SIGINT or CTRL_BREAK_EVENT) - Wait up to 1 second for the plugin to exit - Kill it with SIGKILL Note that TerminateProcessGroup kills the entire group so we don't need a separate KillChildren and cmd.Process.Kill(). This change also deprecates cmdutil.KillChildren since we shouldn't really be using SIGKILL as a first resort anyway. Note that this does not modify the behavior of individual plugins. Those will exit as usual but with a SIGINT instead of SIGKILL terminating them. Resolves #9780 |
||
---|---|---|
.. | ||
archive | ||
buildutil | ||
ciutil | ||
cmdutil | ||
contract | ||
deepcopy | ||
env | ||
executable | ||
fsutil | ||
gitutil | ||
goversion | ||
httputil | ||
logging | ||
mapper | ||
result | ||
retry | ||
rpcutil | ||
yamlutil |