9 "mvdan.cc/sh/v3/interp"
12// defaultKillTimeout matches mvdan's DefaultExecHandler default.
13const defaultKillTimeout = 2 * time.Second
15// isolateProcess is a no-op on Windows. Session isolation via Setsid is a
16// Unix-only concept; Windows uses CREATE_NEW_PROCESS_GROUP which mvdan's
17// default handler already handles adequately.
18func isolateProcess(_ *exec.Cmd) {}
20// processGroupExecHandler returns interp.DefaultExecHandler on Windows.
21func processGroupExecHandler(killTimeout time.Duration) interp.ExecHandlerFunc {
22 return interp.DefaultExecHandler(killTimeout)
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list