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
Post a Comment