From a1a0990f5e261f395a2d699cd7602ca4a6a5b6c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Wed, 12 Feb 2020 22:06:56 +0000 Subject: bump version --- internal/io/run/run.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/io/run') diff --git a/internal/io/run/run.go b/internal/io/run/run.go index b608639..c0c6868 100644 --- a/internal/io/run/run.go +++ b/internal/io/run/run.go @@ -5,7 +5,6 @@ import ( "context" "io" "os/exec" - "strings" "sync" "time" @@ -37,8 +36,8 @@ func (r Run) Start(ctx context.Context, lines chan<- line.Line) (pid int, ec int pid = -1 if len(r.args) > 0 { - logger.Debug(r.commandPath, strings.Join(r.args, " ")) - r.cmd = exec.CommandContext(ctx, r.commandPath, strings.Join(r.args, " ")) + logger.Debug(r.commandPath, r.args, " ") + r.cmd = exec.CommandContext(ctx, r.commandPath, r.args...) } else { logger.Debug(r.commandPath) r.cmd = exec.CommandContext(ctx, r.commandPath) -- cgit v1.2.3