I'm trying to save the standard exit status of a command in a variable of my makefile, but I don't know how to do it.
I've tried this:
...but it doesn't work.
on 01/07/2012 – Made popular on 01/07/2012
Is there any standard command that will negate the the exit code of another command provided as an argument without using shell features, or starting a shell?
I have a program that does something based on exit code of an system() call. I have another program that returns its status via the exit code. But the program I am calling returns the results opposite from what I want.