LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
  Search this Thread
Old 02-02-2005, 06: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, 06: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, 07:39 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797

Rep: Reputation: 282Reputation: 282Reputation: 282
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, 07:51 AM   #4
freeka
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
nohup programmname &
 
Old 02-02-2005, 10: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, 10: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



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 / openSUSE 4 09-22-2005 12:31 AM
command-line webcam app? mhr Linux - Software 2 10-15-2004 05:23 PM
starting gui in command line mattfritze Linux - General 3 12-24-2003 07:05 AM
adding command line to starting coltranefawz Linux - Software 1 07-02-2003 12:34 PM
How to find the command line to launch app ScreeminChikin Linux - General 2 09-19-2002 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration