[452] in java-interest
Execin
daemon@ATHENA.MIT.EDU (David Gourley)
Thu Jun 22 21:33:22 1995
To: java-interest@java.sun.com
Cc: dgourley@now.cs.berkeley.edu
Date: Thu, 22 Jun 1995 17:51:04 -0700
From: David Gourley <dgourley@CSUA.Berkeley.EDU>
Hello,
Has anyone run into problems with execin and the network client/server
classes. I have an example of a client and server. The server basically
accepts requests from the client and passes a uuencoded file to the
client, the client then displays the text of the file. The problem is
if while the client is connected to the server it issues an execin
call the next execin call that I issue outside of the connection returns
an empty(not null) input stream. I have yet to find a solution to this
problem, it might have to do with the input streams never being explicitly
closed by the external process and no p/fclose call being made from within
java on the stream. Anyway, if anyone has encountered this and has a
solution please let me know.
I have noticed a similiar problem with execin without using the networking
classes. An empty stream is returned by the execin call if I dont explicitly
call close on the stream returned by a previous execin call. However, calling
close on the stream returned while connected to a server seems to have no
effect.
Any help would be appreciated. I can forward my example to anyone who wishes
to look at it.
-David
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com