Files
gui-for-ffmpeg/src/helper/prepare_background_command_windows.go
Leonid Nikitin 77b847dde6 Fix error in OS windows.
Changed the progressbar to the pipe protocol.
2024-01-20 01:53:25 +06:00

14 lines
195 B
Go

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