Skip to content

Commit

Permalink
try to hide ffmpeg window
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Nov 4, 2024
1 parent c0404de commit cf90389
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/logic/sync-stereo.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"os/exec"
"path/filepath"
"syscall"

"fyne.io/fyne/v2/widget"
)
Expand Down Expand Up @@ -47,6 +48,7 @@ func combineStereoFiles(folder1 string, folder2 string, outputFolder string, pro
"pipe:1",
"-map", "[a]",
outputFolder + "/" + filepath.Base(file))
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}

Check failure on line 51 in internal/logic/sync-stereo.go

View workflow job for this annotation

GitHub Actions / build

unknown field HideWindow in struct literal of type "syscall".SysProcAttr
stdout, err := cmd.StdoutPipe()
if err != nil {
return err
Expand Down

0 comments on commit cf90389

Please sign in to comment.