posted 19 years ago
why do you think it is not running? is something not done (a file not created, an email not sent) that you think should be? or do you think it's not because you don't see anything on your screen?
if it's the latter, then re-read what Ernest said. the .bat file COULD be running, but if all it does it print something, you're not gonna see it unless you get that InputStream.
[edit]
i went back and re-read your original post...
what is (most likely) happening is that your script IS running. but the output from your script is not going to the screen, like EFH said. that's why you're not seeing it. it's going to your .bat file's output stream, which is not attatched to your screen. it is effectively going nowhere.
follow EFH's advice. get the stream. read from the stream, and print it out in your java code.
[ October 26, 2006: Message edited by: fred rosenberger ]
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors