I use pianobar
player. But before launching it I need to run tor
and polipo
. Both are continuous (are running until interrupted). Basically what I'm looking for is a single command which would spawn tor
and polipo
processes (their output is not needed) and then open pianobar in foreground.
edit: turns out tor
takes several seconds to start, this is why suggested solutions didn't work at first. I post this in case anyone has the same problem:
function piano {
tor &
polipo &
sleep 3
pianobar &&
killall tor
killall polipo
}
put this in your .profile
or .bashrc
or .zshrc
or whichever shell you use:
function mycommand {
tor &
polipo &
planobar
}
And now just run mycommand
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다