PDA

View Full Version : error-level exit codes


Duduke
2008-01-27, 12:49
Hi All,

Are there any specific error-levels when XBMC quits?
I would like to use them in order to be able to Shutdown or Restart the machine according to XBMC.

topfs2
2008-01-27, 14:25
From what I can tell from the src is that it always exits with code 0
Although you can probably change this behaviour at line 178 in ApplicationMessenger.cpp

Change 0 to something you want to know when it restarts.