detaching a (graphical)process invoked without "&" from terminal
If I run a graphical(or any process) process like music player "exaile" from terminal ,Is there a way without using "nohup" or "screen"(terminal multiplexer) to detach "exaile " from the terminal when ran without appending "&" on to exaile(like "exaile &").
If I press CTRL-Z to stop ,some programs errs out , "watch dog time out" and "aborts" the process. :(
The problem is bg,disown or jobs etc does not list the process if I ran from another terminal.
I want to know ways by Which I can detach a graphical/non-graphical process from a terminal as well as to re-attach to the terminal.
1. Remember to start with "&" (or, better, "nohup XYZ &")
... or ...
2. <Ctl-Z>, bg
I knew of CTRL-Z(Stop) and "do bg 1" .
Another solution to exit terminal after having the process moved to background ,is to type :
As regarding catching program running on background to another terminal ,I tried "fg 1" ,but which tells "bash: fg: 1: no such job" or pid of gxine(My example) :
"bash: fg: 3796: no such job" :( ,but the process is not attched to the newly invoked terminal.Any use of "disown -h" while doing "bg 1" ?How Will it be possible to attach the process to current terminal?
Thanks For the Replies :)
|All times are GMT -5. The time now is 04:32 PM.|