Fix/ffprobe unmarshalling error (#2685)

Fix/ffprobe unmarshalling error
This commit is contained in:
TgSeed 2022-06-22 00:49:14 +00:00 committed by GitHub
parent 733ca2aa6f
commit abd76f7e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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}
}