Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make a process in backround

Status
Not open for further replies.

haneo

Programmer
Jan 2, 2002
274
CA
When i start a process without the "&" :
$/path/My_PROCESS &

how to made it in backround ?

In Linux you can you do it with Ctrl+Z, and the command "bg" how to do it with HP-UNIX ?.

Thx !

CCNA
 
You can either use nohup $/path/My_PROCESS or $/path/My_PROCESS >/dev/null
 
have you set the terminal to take ctrl+z as suspend character ? if not, you can do it by typing &quot;stty susp <ctrl+z>&quot;.
 
And HP-UX has the bg command as well.
 
Unless you're set up differently than &quot;the norm&quot;, CTRL-Z then bg works in hpux as well.

 
If you're using the default POSIX shell, you send the current fg job to background by pressing Ctrl-Z.

If Ctrl-Z doesn't work, check stty -a to make sure it's mapped.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top