File: exec_windows.go

package info (click to toggle)
golang-github-anacrolix-ffprobe 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 104 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 153 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
package ffprobe

import (
	"os/exec"
	"syscall"
)

func setHideWindow(cmd *exec.Cmd) {
	cmd.SysProcAttr = &syscall.SysProcAttr{
		HideWindow: true,
	}
}