gui-for-ffmpeg/helper/prepare_background_command_windows.go

14 lines
195 B
Go
Raw Permalink Normal View History

//go:build windows
// +build windows
package helper
import (
"os/exec"
"syscall"
)
func PrepareBackgroundCommand(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
}