mirror of https://github.com/mpv-player/mpv
TOOLS/umpv, mpv.desktop: use --no-terminal instead of --really-quiet
So this won't initialize terminal handling if stdout happens to be a terminal. It also suppresses all output to stdout/stderr.
This commit is contained in:
parent
f2f19b3404
commit
fa1b9517bc
|
@ -96,7 +96,7 @@ else:
|
|||
raise e
|
||||
os.mkfifo(FIFO, int("0600", 8))
|
||||
|
||||
opts = ["mpv", "--really-quiet", "--force-window", "--input-file=" + FIFO]
|
||||
opts = ["mpv", "--no-terminal", "--force-window", "--input-file=" + FIFO]
|
||||
opts.extend(opts_env)
|
||||
opts.append("--")
|
||||
opts.extend(files)
|
||||
|
|
|
@ -19,7 +19,7 @@ Comment[ru]=Воспроизвести фильмы и музыку
|
|||
Comment[zh]=多媒体播放器
|
||||
Icon=mpv
|
||||
TryExec=mpv
|
||||
Exec=mpv --really-quiet --force-window -- %U
|
||||
Exec=mpv --no-terminal --force-window -- %U
|
||||
Terminal=false
|
||||
NoDisplay=true
|
||||
Categories=AudioVideo;Audio;Video;Player;TV;
|
||||
|
|
Loading…
Reference in New Issue