1
0
mirror of https://github.com/go-task/task.git synced 2025-01-30 05:39:17 +02:00
Marco Molteni 22dfc1e265 execext.RunCommand: fix: do not pass a cancellable context to mvdan.cc/sh
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
2022-05-13 17:36:52 -07:00
2017-02-26 20:14:36 -03:00
2021-04-20 14:54:24 +02:00
2022-05-10 18:00:45 -03:00
2022-05-12 02:02:57 +00:00
2022-05-12 02:02:57 +00:00
2021-07-31 19:36:40 -03:00
2022-03-31 21:40:16 -03:00
2021-01-12 10:43:45 -03:00
2017-02-28 09:15:25 -03:00
2020-12-27 19:07:38 -03:00
2022-03-31 21:40:16 -03:00
2022-03-19 18:41:03 -03:00
2021-05-08 15:02:08 -05:00

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
A task runner / simpler Make alternative written in Go
https://taskfile.dev/ Readme 30 MiB
Languages
Go 89.2%
Shell 6.2%
TypeScript 1.8%
CSS 1.2%
JavaScript 1.1%
Other 0.5%