Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfec348c

Browse files
committed
without this can't exit when non zero exit code
it seems like `os.Exit(state.ExitCode())` belongs here... but unclear on intent of `e.config.Build.Rerun`This at least lets you ctrl+c out of error condition instead of killing pid via external means.
1 parent0dcd9c5 commitfec348c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎runner/engine.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ func (e *Engine) runBin() error {
567567
e.runnerLog("Process Exit with Code: %v",state.ExitCode())
568568
}
569569

570+
e.procKilledCh<-true
571+
570572
if!e.config.Build.Rerun {
571573
return
572574
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp