~From Gerardo:
Hi. I'm working on something, and as part of an update process I have a
topaz script that fetches information and commits it. The process is
long, and I'd like to see some progress report, to be sure it's not
stalled or something.
The code is using the Transcript, and when ran from topaz, I found the
result goes to a log file of the form "gemnetobject####glass.log" (I
guess glass is the username, I'm using the appliance).
My question is, how can I flush the Transcript so I can use tail -f to
see the progress? (I'm currently not seeing anything until topaz exits,
which is too late for progress report).
An alternative would be a way to print to standard output from the
script. In this case I would have to change everything to use this
instead of the Transcript when ran from topaz, but it's not that bad.
AND
GsFile stdin
GsFile stdout
GsFile stderr
GsFile stdoutServer
and basically
GsFile _getStdFile:onClient:
with this you can, of course, do:
GsFile stdout nextPutAll: 'hola!'; cr; flush.
this is enough for me, thanks!
Original issue reported on code.google.com by henrichs...@gmail.com on 24 Mar 2010 at 7:49
Original issue reported on code.google.com by
henrichs...@gmail.com
on 24 Mar 2010 at 7:49