LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 02-02-2005, 05:17 AM   #1
linuxdawg
Member
 
Registered: Aug 2004
Distribution: Suse
Posts: 44

Rep: Reputation: 16
Starting An App From A Command-line


How do I start an application, lets say mozilla, from an xterm prompt so that when I close the xterm window, mozilla doesn't close with it?
 
Old 02-02-2005, 05:20 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
Type

app-name &
 
Old 02-02-2005, 06:39 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 10.04, Crunchbang Statler
Posts: 3,325

Rep: Reputation: 168Reputation: 168
Hi nixcraft, does not work. If you kill the parent (xterm), you will also kill all its children (mozilla).

I unfortunately don't know a way around it.
 
Old 02-02-2005, 06:51 AM   #4
freeka
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
nohup programmname &
 
Old 02-02-2005, 09:01 AM   #5
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
freeka is right.

use as follows

nohup app-name &
 
Old 02-02-2005, 09:06 AM   #6
linuxdawg
Member
 
Registered: Aug 2004
Distribution: Suse
Posts: 44

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by freeka
nohup programmname &
Thanks freeka, and every who responded to the thread!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xlib errors when trying to open graphical app from command line, 9.1 Personal Baddox Suse/Novell 4 09-21-2005 11:31 PM
command-line webcam app? mhr Linux - Software 2 10-15-2004 04:23 PM
starting gui in command line mattfritze Linux - General 3 12-24-2003 06:05 AM
adding command line to starting coltranefawz Linux - Software 1 07-02-2003 11:34 AM
How to find the command line to launch app ScreeminChikin Linux - General 2 09-18-2002 11:39 PM


All times are GMT -5. The time now is 04:28 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration