Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site cbscc.UUCP Path: utzoo!watmath!clyde!cbosgd!cbsck!cbscc!lvc From: lvc@cbscc.UUCP (Larry Cipriani) Newsgroups: net.lang.c Subject: putting C programs in the background Message-ID: <4600@cbscc.UUCP> Date: Mon, 14-Jan-85 20:40:35 EST Article-I.D.: cbscc.4600 Posted: Mon Jan 14 20:40:35 1985 Date-Received: Tue, 15-Jan-85 02:31:44 EST Organization: AT&T Bell Laboratories, Columbus Lines: 10 To put a C program in the background (not from the shell) try the following: if (fork() != 0) exit(0); Simple yes. Obvious, well maybe. And don't forget to setup those signal handlers and file descriptor just right. Larry Cipriani cbscc!cbsch!lvc