make-w32
[Top][All Lists]
Advanced

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

Win32 command exit status via $$?


From: dale . thomas
Subject: Win32 command exit status via $$?
Date: Fri, 14 Oct 2005 15:27:59 -0700

Does anyone know if there is a problem with the 3.81beta3 for Win32 running under DOS

I am trying to get the exit status from commands and have not had any luck.
For example

include gmsl

all:
    date > foo.text
    @echo $$?


>gnumake all

I would expect the echo to output 0 if date succeeded and > 0 otherwise
All that is output is $?

This works fine on OSX with the 3.80 and under Cygwin on Win32, but I have to use DOS!!

I have installed 3.81 from source and had it built with the build_w32.bat file under DOS

Please help!!!!!

Smile..it makes everyone wonder what you've been up to!!



reply via email to

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