@@ -210,7 +210,9 @@ func execHandlerOption(blockFuncs []BlockFunc) interp.RunnerOption {
210210 for _, mw := range slices.Backward(standardHandlers(blockFuncs)) {
211211 handler = mw(handler)
212212 }
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)
214216}
215217
216218// nonInteractiveEnvVars are forced on every shell execution to prevent