mirror of https://github.com/stashapp/stash.git
Fix/ffprobe unmarshalling error (#2685)
Fix/ffprobe unmarshalling error
This commit is contained in:
parent
733ca2aa6f
commit
abd76f7e58
|
@ -12,5 +12,5 @@ import (
|
||||||
|
|
||||||
// hideExecShell hides the windows when executing on Windows.
|
// hideExecShell hides the windows when executing on Windows.
|
||||||
func hideExecShell(cmd *exec.Cmd) {
|
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}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue