![]() ![]() There are cases where your process will get in such a bad state that a component will take it upon itself to terminate the process. The command processor ERRORLEVEL keyword was designed with these convention in mind. Often, higher values for the exit code indicate more severe types of failure. There is a convention, however, that an exit code of zero means success (though what constitutes “success” is left to the discretion of the author of the program) and a nonzero exit code means failure (again, with details left to the discretion of the programmer). If you want code 42 to mean “Something infinitely improbable has occurred” then more power to you. The kernel does no interpretation of the value. ![]() You can pass anything you want to ExitProcess, and that’s what GetExitCodeProcess will give back. ![]() There is no standard for process exit codes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |