后台无法运行mplayer命令? [論壇 - Ubuntu 程式設計]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



后台无法运行mplayer命令?
會員四級
註冊日期:
2011/7/29 14:20
所屬群組:
已註冊使用者
等級: 18
HP : 0 / 446
MP : 137 / 15458
EXP: 85
離線
debian@debian:~$ mplayer change.mp3
运行完好,加一个&,后台运行就不行,请问,原因在哪里?
debian@debian:~$ mplayer change.mp3 &
[1] 3700
debian@debian:~$ MPlayer svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

2013/1/6 18:47
應用擴展 工具箱
回覆: 后台无法运行mplayer命令?

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 69235
EXP: 24
離線
运行完好,加一个&,后台运行就不行,请问,原因在哪里?

A program can be started as a background task by appending & to the command line; its output is directed to the terminal (potentially interleaved with other programs' output) but it cannot read from the terminal input.
加 & 該指令轉爲 背景下執行

2013/1/7 0:15
應用擴展 工具箱
回覆: 后台无法运行mplayer命令?
會員四級
註冊日期:
2011/7/29 14:20
所屬群組:
已註冊使用者
等級: 18
HP : 0 / 446
MP : 137 / 15458
EXP: 85
離線
可否多解释一些,我不明白,还有人指点可以这样:
nohup mplayer change.mp3 > /dev/null &
确实可以听了,原因也不知道。

2013/1/7 18:49
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.