{"version":"2.1.260","anchor":"new-processrun-capability-for-plugin-hook-scripts","canonical_anchor":"new-processrun-capability-for-plugin-hook-scripts","heading":"New $.process.run capability for plugin hook scripts","tier":"use","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260\/e\/new-processrun-capability-for-plugin-hook-scripts","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.260","markdown":"### New `$.process.run` capability for plugin hook scripts\n\nPlugin hook scripts can now spawn and run external commands via $.process.run.\n\nPlugin hook scripts can now call `$.process.run` alongside the existing `fs.*`, `store.*`, and `http.fetch` namespace, letting a hook spawn and run arbitrary external commands rather than only reading files or making HTTP calls. The implementation validates arguments, handles SIGTERM-then-SIGKILL shutdown, caps captured stdout\/stderr size, runs under `toolCgroupClass: \"plugin\"`, and applies default and maximum timeouts.\n\n- Area: Plugins\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5"}