@@ -210,7 +210,9 @@ func execHandlerOption(blockFuncs []BlockFunc) interp.RunnerOption {
210 for _, mw := range slices.Backward(standardHandlers(blockFuncs)) {
210 for _, mw := range slices.Backward(standardHandlers(blockFuncs)) {
211 handler = mw(handler)
211 handler = mw(handler)
213− return interp.ExecHandler(handler) //nolint:staticcheck // ExecHandlers always appends DefaultExecHandler which lacks process isolation.
213+ // ExecHandlers always appends DefaultExecHandler which lacks process
214+ // group isolation, so we use the deprecated ExecHandler instead.
215+ return interp.ExecHandler(handler)
216// nonInteractiveEnvVars are forced on every shell execution to prevent
218// nonInteractiveEnvVars are forced on every shell execution to prevent