Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-14-2007, 09:43 PM   #1
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
background process popping up in foreground

I am running bash v3.2.17 and when I try to run a process like fetchmail in the background (fetchmail &) it just pops up in the foreground saying how many messages it is downloading and if I hit the return key I get the shell prompt for a second and then fetchmail pops up again - is there any way to put the process in the background permanently until the job is done?
Old 12-14-2007, 11:53 PM   #2
Registered: Mar 2007
Location: Nebraska
Distribution: CentOS
Posts: 82

Rep: Reputation: 15
The output of some commands are still to the standard output even when ran in the background. You can usually resolve this by specifying and output file.

To output to a file
fetchmail > ./filename &
or to discard the output
fetchmail > /dev/null &

Last edited by wit_273; 12-14-2007 at 11:54 PM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tty background/foreground color neo77777 Linux - General 11 11-25-2014 08:59 AM
Foreground and Background program switching isolvesystems Linux - Newbie 2 10-03-2007 09:30 AM
Can Linux run in background with Win at foreground achtung_linux Linux - General 5 02-10-2007 08:54 PM
How to bring a background diamon to foreground lieuquocdat Linux - Software 8 07-20-2006 06:53 AM
Background and Foreground Datamike Linux - Software 2 01-20-2006 04:20 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:24 AM.

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