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 -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -