Re: [PR] Exit ant.bat with ERROR_FILE_NOT_FOUND if A NT_HOME isn't/can't be set [ant]

bodewig (via GitHub) <[email protected]>
Newsgroups gmane.comp.jakarta.ant.devel
Message-ID <PR_kwDOATT2FM6cZbs2-ca233749-97cf-45a1-afa5-aa2988d15f07@gitbox.apache.org>
bodewig commented on PR #222:
URL: https://github.com/apache/ant/pull/222#issuecomment-3031963845

   I'm not too familiar with Windows error codes, but 3 seems to mean "path not found" which may be closer to the cause of the error.
   
   And then https://learn.microsoft.com/en-us/windows/win32/debug/system-error-codes--0-499- contains 160 (ERROR_BAD_ARGUMENTS), 161 (ERROR_BAD_PATHNAME), 203 (ERROR_ENVVAR_NOT_FOUND). 203 sounds right, but again, I'm not really well versed in batch file writing.
   
   In either case I agree we should exit with a non-0 exit code.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.