Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!unido!horga!mute!frank From: frank@mute.ruhr.de (Frank Huemme) Newsgroups: comp.lang.c Subject: errormsg in childprozess Message-ID: <91.082.19:00:19@mute.ruhr.de> Date: 23 Mar 91 18:00:19 GMT Distribution: comp Organization: Private386 Lines: 19 hello, in a subroutine of a large C program i had to start another Programm that nether ends. ret=fork(); if (ret==0) /* in child */ { execlp(......... exit(); } My Problem: What`s the best way for the child to tell the father-process if something was going wrong with execlp ( and fork() was ok )?? frank -- Frank Huemme , 4600 DO 1, email: frank@mute.ruhr.de