Open rodude123 opened 4 years ago
for now you could try nohup python adspotter &
... haven't tested that yet, but it might work. After running this command, you can close the terminal and it will continue running in the background, saving all its output to a nohup.out
file.
Closing spotify should lead to an error with adspotter
and thus close that process automatically.
indeed, that seems to work :-) just make yourself an alias somewhat like:
alias adspotter='cd ~/spotify-adblock-linux ; nohup python adspotter &'
... assuming ~/spotify-adblock-linux
is where you have the adspotter repo.
Thank you, I'll try it out
hey didn't work for me I had still had the window open. Is there anyway I can close the window and it still work
yes, after nohup python adspotter &
you can just close the window
Well after all this I closed the window and nothing happeened but it's ok
alias adspotter='cd ~/spotify-adblock-linux ; nohup python adspotter &'
alias adspotter='cd ~/spotify-adblock-linux ; nohup python3 adspotter &' to me (Ubuntu 20.04)
First thing that comes to my mind is to use something like:
./adspotter > /dev/null & disown && exit 0
Don't know if it will work.
Hey it would be nice if it would run in the background and I wouldn't need to keep the window open