detach, a program to detach a process from a running terminal i use it all the time, i thought there should be an ebuild... so here it is
Created attachment 27336 [details] the ebuild
Is there something about this that's different and/or better than app-misc/screen?
this program is a one time use program as it were. e.g. "detach firefox; exit" running this from a terminal will detach firefox from the terminal so that the terminal may be closed. hence the exit. screen on the other hand must remain running for firefox to continue running. I run evilwm and this is invaluable.
sorry I think this needs to be expanded basically what this will do is allow you to detach any process from a running terminal. if the terminal dies the program remains running.
I see what you're saying now.
(firefox &) detaches from the terminal.
Could you please attach the ebuild as a plain/text file?
Brandon Hale: do this for me load a terminal run a program your way "firefox &" thin kill the terminal the hard way "kill -9 your_terminal" firefox will die, this does not happen with detach. its a minor difference but hey.
Created attachment 27385 [details] ebuild with new stream ebuild with new stream
Mike Valstar, try this for me: load a terminal run a program my way "(firefox &)" thin kill the terminal the hard way "kill -9 your_terminal" firefox will *not* die, doing the exact same thing as detach. its a minor difference but hey.
seems to be working for me, i tried it with a few programs. even closing the terminal does it i tried in xterm, Eterm, gnome-terminal and konsole. i did my tests with gcolor, evolution and gnome-alsamixer... sorry dident try firefox (i was using it) gcolor and gnome-alsamixer died evolution did not. evolution must have something built into it to protect it... my bad for not trying firefox explicitly, it most likly has this protection aswell. sorry for the confustion
Sorry, we can't include this without the standard header. * http://dev.gentoo.org/~ciaranm/docs/mw-faq/header.txt