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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -