Hi, everyone,

Please excuse me for this off topic question, as I do no know
which list I should send this question to. Hope someone here can
help.


 I have a problem with runtime.exec( ) as follows.
 
 The application I developed needs to invoke a batch file from time to
 time.
 I used the runtime.exec() to call the batch file and then wait the
 process to finish
 by calling process.waitFor(). The problem is that the same code works
on
 my PC (win95)
 and a UNIX machine, but not on a NT server (4.0 with SP4, JDK 1.1.7 )
 except when
 the batch file is very samll (less than 2 lines). I tried to use
 different JDKs, seems
 no difference. (On the NT server, it looks like process.waitFor() never
 returns, no exception or any error message, just hanging there.)
 
 Wonder if anyone had this problem before? Solution?
 
 Thanks in advance.
 
 Hua Cao
 www.cham.co.uk
 
 



-- 
Hua Cao
=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to