🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #347

How to get the return status of a finished process

#347
From: ASpecT (=jvh+ric)
Date: Fri, 10 Apr 1992 10:07
14 lines
978 bytes
I'm currently writing a special make tool which is able to
use a given list of connected machines which can be used in
parallel. The tool forks processes which do an execve to 
change to a little program having the task to rsh the job to other
machines. Now I have the problem that the main tool has to
check if one of these processes (i.e. a C compiler run) fails.

A naive solution lets the 'rsh-submitting' process create a file
containing the return-status - a solution I do not like very
much.

Any advices gratefully accepting
--Joern 
Technical Details
Message-ID: <1992Apr10.100743.18835@informatik.uni-bremen.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!unido!ubrinf!sun1g!aspect

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!unido!ubrinf!sun1g!aspect
From: aspect@sun1g.informatik.Uni-Bremen.DE (ASpecT (=jvh+ric))
Newsgroups: comp.unix.programmer
Subject: How to get the return status of a finished process
Message-ID: <1992Apr10.100743.18835@informatik.uni-bremen.de>
Date: 10 Apr 92 10:07:43 GMT
Sender: aspect@sun1g (ASpecT (=jvh+ric))
Organization: Universitaet Bremen
Lines: 14
Nntp-Posting-Host: sun1g