python - Application gets closed when terminal is closed, how to stop this? -


i have expect script this

#!/usr/bin/expect spawn /usr/bin/firefox https://www.google.com/ 

soon script finished.. terminal closes itself, no problem me.

but closes firefox browser opened.

i need browser remain open.

use nohup prevent child processes being killed when terminal closes.

spawn nohup /usr/bin/firefox https://www.google.com/ 

i assume there's more script, since there's no need use expect start firefox.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -