Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2001 18:12:54 -0500
From:      Noah Dunker <ndunker@jccc.net>
To:        'Mark Livingstone' <mlivingstone@ottawa.com>, freebsd-questions@FreeBSD.ORG
Subject:   RE: how to run process in background?
Message-ID:  <C18E28011272D41180AD00B0D0496C0801C02171@ns-exch05>

next in thread | raw e-mail | index | archive | help
try these:

bash-2.03$ nohup whatever&

or 

bash-2.03$ whatever&
[1] 31337
bash-2.03$ set NOHUP
bash-2.03$ exit

The first tells the shell not to send SIGHUP to that specific process.
The second example tells the shell not to send SIGHUP to any background
processes.

Noah Dunker
Systems Analyst/Technician
Johnson County Community College 

-----Original Message-----
From: Mark Livingstone [mailto:mlivingstone@ottawa.com]
Sent: Thursday, April 26, 2001 6:07 PM
To: freebsd-questions@FreeBSD.ORG
Subject: how to run process in background?



HI!

How do i run a process in background except for using "screen" and "&"
syntax? when i type "whatever &" and then exit 
my shell.. it tells me that the process is SIGHUPED (hangup, whatever..)..
seems like it's running after that ok.. but 
i don't know how to reattach to it. 

is there another way? i heard about "fork". but man page doesn't say mcuch
;(

thanks for help!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C18E28011272D41180AD00B0D0496C0801C02171>