From abd76f7e58453d54c536fe34ec523fca663d2bc1 Mon Sep 17 00:00:00 2001 From: TgSeed <92082995+TgSeed@users.noreply.github.com> Date: Wed, 22 Jun 2022 00:49:14 +0000 Subject: [PATCH] Fix/ffprobe unmarshalling error (#2685) Fix/ffprobe unmarshalling error --- pkg/exec/shell_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/exec/shell_windows.go b/pkg/exec/shell_windows.go index 9f4b551c0..84b7ea206 100644 --- a/pkg/exec/shell_windows.go +++ b/pkg/exec/shell_windows.go @@ -12,5 +12,5 @@ import ( // hideExecShell hides the windows when executing on Windows. func hideExecShell(cmd *exec.Cmd) { - cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: windows.DETACHED_PROCESS} + cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: windows.DETACHED_PROCESS & windows.CREATE_NO_WINDOW} }