[Cuis-dev] shell scripting
Gerald Klix
cuis.01 at klix.ch
Fri Apr 22 00:46:56 PDT 2022
That's one way to do it, but then everything written on the Transcript is mirrored on stdout.
I came up with:
1 to: 15 do: [ :count |
StdIOWriteStream stdout
newLine;
nextPutAll: 'Hello standard output: '.
count printOn: StdIOWriteStream stdout ]
On Apr 22 2022, at 9:41 am, sp--- via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
> Transcript logToStdout: true.
> Transcript show: 'Ha!'
>
>
> On 4/22/22 5:34 PM, Gerald Klix wrote:
> > I am sure you don't need OSProcess. The Transcript can write to
> > stdout without it.
> > I will need that capability today, so I will investigate and post the
> > results.
> >
> >
> > HTH,
> >
> > Gerald
> >
> > On Apr 22 2022, at 12:26 am, sp--- via Cuis-dev <cuis-dev at lists.cuis.st>
> > wrote:
> >
> > That's exactly what I wanted to know. Thank you, Gerald!
> >
> > (Now I'm having trouble Requiring OSProcess, which I believe I need for
> > access to stdout, but I'll see whether I can fix that myself.)
> > --
> > Cuis-dev mailing list
> > Cuis-dev at lists.cuis.st
> > https://lists.cuis.st/mailman/listinfo/cuis-dev
> >
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220422/55390257/attachment.htm>
More information about the Cuis-dev
mailing list