mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
Fix/ffprobe unmarshalling error (#2685)
Fix/ffprobe unmarshalling error
This commit is contained in:
@@ -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}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user