Hello all, I'm new to the group, so "hi".

I have a request for information:

Im currently developing a front end in Java for the SpeakFreely suite of
tools. As a result, I need to be able to capture their stdout and parse
it. No problems I thought - just do an exec() and get the InputStream
via getInputStream() on the resulting Process instance.

However; I am having no end of difficulties here. If I exec the command
(which if anyone is interested goes something like sflwl
-hlwl.fourmilab.ch:2076 '[EMAIL PROTECTED]') I get nothing back. However,
I can stuff this into the shell, and I get back:

[neil@fastspod Project]$ sflwl -hlwl.fourmilab.ch:2076 '[EMAIL PROTECTED]'
209.78.48.182:2074       [EMAIL PROTECTED] (Neil Clayton)
[neil@fastspod Project]$

I changed 'sflwl' to 'echo' to test my Java program, and it is able to
report the results of that fine. I've tried other unix command line
utils, and they have their results processed by my Java code.  I then
looked into the sflwl source code, to see if it was doing anything weird
with stdout. Not that I can see.

I just wanted to ask if there is any known problem with the linux jvm
here. Current JVM is v1.1.7v1, Ive tried 1.2 prev2 with no difference
(Ive downloaded by not yet tried v1.1.7v3)

Regards,
Neil Clayton


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to