[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exit value

From: Eli Zaretskii
Subject: Re: Exit value
Date: Wed, 18 Aug 2004 00:08:19 -0400

> From: "Oppermann, Henry" <address@hidden>
> Date: Thu, 12 Aug 2004 14:49:01 -0500
> As I understand it, when make invokes a process to handle a command and the
> process ends, Make learns the exit value from the child process.  Is there a
> way to gain access to this exit value?  I have a case where an assembler
> returns a code which is valid for <= 4.  Above that value, I want to exit.
> Make exits if the value is >0.

This is usually a shell feature.  So you should use whatever cmd.exe
has to do what you want.  Does ERRORLEVEL work?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]