Bug 156730

Summary: Launching an application from terminal with & for own process is still killed when terminal closed
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Wright <david.wright>
Component: ConsoleAppsAssignee: Andreas Schwab <schwab>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Wright 2006-03-09 21:03:12 UTC
I picked this up in one of the forums, and thought, hmm, that worked for me, but have just tested it and it is true.

I seem to remember from the old Unix and VMS days, and I think possibly before in SUSE 9 series, that launching an application from a terminal window adding an ampersand (&) launched the application in its own process and if the terminal was closed, the application kept on running.

With 10.0 this doesn't work, E.g. launching "mozilla &" from a terminal window opens mozilla as it should, but closing the terminal window also closes any applications which were launched from the terminal...

Is this changed design from Unix (and do I remember it incorrectly that this used to work with SUSE 9?) or has something changed recently?
Comment 1 Andreas Schwab 2006-03-09 21:40:31 UTC
Not a bug, you need to use nohup.