Hi All,
If Squeak is running headless and something is sent to Transcript, what happens? Lou -- Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon |
> On 03.05.2017, at 16:25, Louis LaBrunda <[hidden email]> wrote: > > Hi All, > > If Squeak is running headless and something is sent to Transcript, what happens? Unless you have the CommandLineToolset set as default, nothing. Best regards -Tobias > > Lou > -- > Louis LaBrunda > Keystone Software Corp. > SkypeMe callto://PhotonDemon > > |
Hi Tobias,
Thanks, that's what I thought, I just wanted to be sure. Lou On Wed, 3 May 2017 16:53:02 +0200, Tobias Pape <[hidden email]> wrote: > >> On 03.05.2017, at 16:25, Louis LaBrunda <[hidden email]> wrote: >> >> Hi All, >> >> If Squeak is running headless and something is sent to Transcript, what happens? > >Unless you have the CommandLineToolset set as default, nothing. > >Best regards > -Tobias > >> >> Lou >> -- >> Louis LaBrunda >> Keystone Software Corp. >> SkypeMe callto://PhotonDemon >> >> > > Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon |
In reply to this post by Tobias Pape
> On May 3, 2017, at 7:53 AM, Tobias Pape <[hidden email]> wrote: > > >> On 03.05.2017, at 16:25, Louis LaBrunda <[hidden email]> wrote: >> >> Hi All, >> >> If Squeak is running headless and something is sent to Transcript, what happens? > > Unless you have the CommandLineToolset set as default, nothing. IMO we should change this and have output go to stdout if headless, and hence include CommandLineToolset in the base image. One can always unload it if it's not wanted. But this is a better default. > > Best regards > -Tobias > >> >> Lou >> -- >> Louis LaBrunda >> Keystone Software Corp. >> SkypeMe callto://PhotonDemon >> >> > > |
> On 03.05.2017, at 17:54, Eliot Miranda <[hidden email]> wrote: > > > >> On May 3, 2017, at 7:53 AM, Tobias Pape <[hidden email]> wrote: >> >> >>> On 03.05.2017, at 16:25, Louis LaBrunda <[hidden email]> wrote: >>> >>> Hi All, >>> >>> If Squeak is running headless and something is sent to Transcript, what happens? >> >> Unless you have the CommandLineToolset set as default, nothing. > > IMO we should change this and have output go to stdout if headless, and hence include CommandLineToolset in the base image. It's already there. You just have to use it when headless. Best regards -Tobias > One can always unload it if it's not wanted. But this is a better default. > >> >> Best regards >> -Tobias >> >>> >>> Lou >>> -- >>> Louis LaBrunda >>> Keystone Software Corp. >>> SkypeMe callto://PhotonDemon >>> >>> >> >> > |
In reply to this post by Eliot Miranda-2
On Wed, May 03, 2017 at 08:54:07AM -0700, Eliot Miranda wrote:
> > > > On May 3, 2017, at 7:53 AM, Tobias Pape <[hidden email]> wrote: > > > > > >> On 03.05.2017, at 16:25, Louis LaBrunda <[hidden email]> wrote: > >> > >> Hi All, > >> > >> If Squeak is running headless and something is sent to Transcript, what happens? It prints using invisible ink ;-) > > > > Unless you have the CommandLineToolset set as default, nothing. Or set the "Redirect transcript to stdout" preference, which redirects the transcript to standard output. It works well in trunk now. > > IMO we should change this and have output go to stdout if headless, and hence include CommandLineToolset in the base image. One can always unload it if it's not wanted. But this is a better default. > I expect that just evaluating "TranscriptStream redirectToStdOut: true" in the headless image is probably sufficient in this case (but no objection to adding CommandLineToolset if it also has value). Dave |
In reply to this post by Tobias Pape
> On 03.05.2017, at 16:53, Tobias Pape <[hidden email]> wrote: > > >> On 03.05.2017, at 16:25, Louis LaBrunda <[hidden email]> wrote: >> >> Hi All, >> >> If Squeak is running headless and something is sent to Transcript, what happens? > > Unless you have the CommandLineToolSet as default, nothing. I am wrong. CommandLineToolSet just handles debugging requests, The redirection is directly as Dave pointed out. Should I be wrong? Shouldn't the (btw already present) CommandLineToolSet also make sure the redirection is there when it is selected? Best regards -Tobias |
> I am wrong. CommandLineToolSet just handles debugging requests, The redirection is directly as Dave pointed out.
> Should I be wrong? Shouldn't the (btw already present) CommandLineToolSet also make sure the redirection is there > when it is selected? Hmmmm....... That's a good question, as well, for SmalltalkImage>>#run:. Personally, I don't care for making references to Transcript in code anymore. It's just as easy to signal Notifications, Warnings, and Errors and doing so helps proper error-handling develop from the get-go. |
Free forum by Nabble | Edit this page |