Версия 0.9.0 #10
@ -1,7 +1,6 @@
|
||||
package kernel
|
||||
|
||||
import (
|
||||
"git.kor-elf.net/kor-elf/gui-for-ffmpeg/helper"
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
@ -24,7 +23,6 @@ func NewFFplay(ffPathUtilities *FFPathUtilities) *FFplay {
|
||||
func (ffplay FFplay) Run(setting FFplaySetting) error {
|
||||
args := []string{setting.PathToFile}
|
||||
cmd := exec.Command(ffplay.ffPathUtilities.FFplay, args...)
|
||||
helper.PrepareBackgroundCommand(cmd)
|
||||
|
||||
return cmd.Start()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user