小编Gre*_*one的帖子

Youtube-dl 拒绝在后台运行

youtube-dl通过&在命令后面运行在后台运行。问题是它不在乎我把它放在后台并在终端中保持打印信息。

它不仅拒绝以Ctrl+CCtrl+停止Z,而且除了显示这些消息之外什么也不做。要阻止它,我必须关闭终端。

以下是确切发生的情况:

mohamed@Smithers:~$ clear
mohamed@Smithers:~$ youtube-dl https://www.youtube.com/watch?v=LMQsYSuw8hw &
[1] 2028
mohamed@Smithers:~$ [youtube] LMQsYSuw8hw: Downloading webpage
[youtube] LMQsYSuw8hw: Downloading video info webpage
[youtube] LMQsYSuw8hw: Extracting video information
[youtube] LMQsYSuw8hw: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Resuming download at byte 11440128
[download] Destination: I Was On Japanese TV... and I F#%KING HATED IT.-LMQsYSuw8hw.f137.mp4
[download]   4.8% of 231.85MiB at …
Run Code Online (Sandbox Code Playgroud)

command-line bash redirect background youtube-dl

2
推荐指数
1
解决办法
5540
查看次数

标签 统计

background ×1

bash ×1

command-line ×1

redirect ×1

youtube-dl ×1