Re: Problem with InputStream & Process



cbossens73@xxxxxxxx wrote:
From Java I'd then not bother at all with streams/buffer,
nor consuming the stdout and stderr etc. I'd simply parse
then delete the temporary output file.

Once again I don't know if it helps or not in your case:
in my case the shell script were producing well defined
output and the output file was not growing over time.

That is a solution.

But I don't think it will provide the real time effect
that the original poster was asking for.

He was getting everything he wanted, but it just all came
at once at the end instead of by regular intervals.

I can not see a temporary file solve that.

Arne
.



Relevant Pages

  • Re: File writes in a loop
    ... Here the un-vague version of the question. ... We've decided for business reasons to parse it by ... I won't know the date, which is the name of the output file, ... All this works fine until it does the Open/Create Output on the second ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: File writes in a loop
    ... We've decided for business reasons to parse it by ... I won't know the date, which is the name of the output file, ... performance hit of closing and opening the same file thousands of ... All this works fine until it does the Open/Create Output on the second ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: How to parse UNIX commands ...
    ... awk -F"" ' {print ... $6}'` to check for the mount points. ... into some output file and then parse it using OPEN-CLOSE ...
    (perl.beginners)
  • Re: lmutil extraction
    ... output from the lmutil call. ... Use matlab or another program to parse ... the output file and put it against your mapping of users. ...
    (comp.soft-sys.matlab)