Process exit value

Hi,

Does anyone know what exit value of 18 mean? I was calling Runtime.exec() to execute an external program and a call to a waitFor() method returned a value of 18. How do I find out what this means? I am running this under windows XP. The code normally works fine, in fact this was the first time that I saw it returning error code other than 0. This happened several times yesterday but running it today seems to be OK again... Any help will be greatly appreciated...

[483 byte] By [seek123a] at [2007-11-27 5:11:15]
# 1
thats a windows question. and its better answered by google. http://www.google.com/search?hl=en&q=windows+%22exit+codes%22 http://www.hiteksoftware.com/knowledge/articles/049.htm18 There are no more files.
TuringPesta at 2007-7-12 10:31:33 > top of Java-index,Java Essentials,Java Programming...
# 2
It depends on the process itself. I think there may be certain informal standards, but you'd have to read the docs for the particular program you're running. In a unix environment, you'd usually look at the man pages for that. I don't know what the Windows equivalent docs would be.
jverda at 2007-7-12 10:31:33 > top of Java-index,Java Essentials,Java Programming...
# 3
> what exit value of 18 mean?It depends on the program you run as a command. In other words, there's no standard for that.
hiwaa at 2007-7-12 10:31:33 > top of Java-index,Java Essentials,Java Programming...
# 4

> thats a windows question. and its better answered by

> google.

>

> http://www.google.com/search?hl=en&q=windows+%22exit+c

> odes%22

>

> http://www.hiteksoftware.com/knowledge/articles/049.ht

> m

> 18 There are no more files.

Um, yeah. What he said.

(Faster than I *and* a more useful answer. Bloody kids these days.)

jverda at 2007-7-12 10:31:33 > top of Java-index,Java Essentials,Java Programming...
# 5
Thanks for all the quick responses guys! :)
seek123a at 2007-7-12 10:31:33 > top of Java-index,Java Essentials,Java Programming...