mirror of
https://github.com/go-task/task.git
synced 2025-07-13 01:30:33 +02:00
22dfc1e265ceb10dc481e8ec09da738788f4d01a
We used to pass to mvdan.cc/sh/interp.Runner a context that was cancelled on reception of a OS signal. This caused the Runner to terminate the subprocess abruptly. The correct behavior instead is for us to completely ignore the signal and let the subprocess deal with it. If the subprocess doesn't handle the signal, it will be terminated. If the subprocess does handle the signal, it knows better than us wether it wants to cleanup and terminate or do something different. So now we pass an empty context just to make the API of interp.Runner happy Fixes go-task/task/#458

Task
Task is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make.
See taskfile.dev for the documentation.
Description
Languages
Go
91%
Shell
5.1%
TypeScript
1.5%
CSS
1%
JavaScript
1%
Other
0.4%