1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-03-31 01:24:31 +00:00

removed debug printing

This commit is contained in:
postmannen 2024-12-25 18:05:15 +01:00
parent 0edbc43804
commit 17a2a9e5f4

View file

@ -253,10 +253,6 @@ func getCmdAndArgs(ctx context.Context, proc process, message Message) *exec.Cmd
// UseDetectedShell defaults to false , or it was not set in message.
// Return a cmd based only on what was defined in the message.
if !message.UseDetectedShell {
fmt.Printf("\n *** UseDetectedShell was set to false: %v\n", message.UseDetectedShell)
fmt.Printf("args in q : %q\n", message.MethodArgs)
fmt.Printf("args in v : %v\n\n", message.MethodArgs)
cmd = exec.CommandContext(ctx, message.MethodArgs[0], message.MethodArgs[1:]...)
return cmd
}