Exit Codes |
When the scan task ends, Dr.Web Scanner returns an exit code which determines result of scanning. The exit code is always constructed as an combination (sum) of codes that are related to the corresponding events of scanning process. The possible events and related codes are following:
The actual value returned by Dr.Web Scanner is equal to the sum of codes for the events that occurred during scanning. Obviously, the sum can be easily decomposed into separate event codes. For example, return code 9 = 1 + 8 means that known viruses were detected, including viruses in archives, mail archives or containers; curing and others actions were not executed; no other threat events occurred during scanning. If no threat events occurred during scanning, Dr.Web Scanner returns the exit code 0.
|