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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background process kills terminal window

Status
Not open for further replies.

multiplatformer

Programmer
Jun 4, 2003
1
US
I sucessfully ported a program to AIX 4.1. But anytime I run that program in the background (e.g. ./myprogram&) it kills the terminal window which this program is running on. Checking with 'ps' command showing that the program is still running OK after that.

If I run the same program in the foreground (e.g. ./myprogram), or write a shell script to run it in the background, terminal window won't get killed.

Any idea ? And no, I don't have any 'exit' command within my program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top