aboutsummaryrefslogtreecommitdiffhomepage
path: root/helper/cmd.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-15 23:57:44 +0900
committerOphestra <cat@gensokyo.uk>2025-03-16 00:01:25 +0900
commit6e7ddb2d2ec6b163dc2c178bc4d73b5943f51206 (patch)
tree37ffe1564782377c1983909362ed6109c3f06b28 /helper/cmd.go
parentbac4e67867faa7d8274b684575140a65827d3a4c (diff)
helper: eliminate commandContext replacement
This is done more cleanly by modifying Args in cmdF. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'helper/cmd.go')
-rw-r--r--helper/cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/cmd.go b/helper/cmd.go
index 5b66afe7..4fe978a2 100644
--- a/helper/cmd.go
+++ b/helper/cmd.go
@@ -42,7 +42,7 @@ func newHelperCmd(
) (cmd *helperCmd, args []string) {
cmd = new(helperCmd)
cmd.helperFiles, args = newHelperFiles(ctx, wt, stat, argF, extraFiles)
- cmd.Cmd = commandContext(ctx, name)
+ cmd.Cmd = exec.CommandContext(ctx, name)
cmd.Cmd.Cancel = func() error { return cmd.Process.Signal(syscall.SIGTERM) }
cmd.WaitDelay = WaitDelay
return