1 Mar 2006 06:02
Re: stdout n Windows
Charles A. Monteiro <charles <at> datasof.com>
2006-03-01 05:02:13 GMT
2006-03-01 05:02:13 GMT
why? Also, the ImageConfigurationSubystem does close it although it is done apparently right before the image shutdowns, see code attached below. I would think that the sheer fact that the image shutdowns releases the stream. Here is another question. let's say that VW opens a bunch of external streams but does not close them, if then VW shuts done is part of shutting down the closing of said streams i.e those found in "OpenStreams" or is it that Windows closes them once it sees the process for VW go away or are those streams just left open? ImageConfigurationSubsystem>> runCodeAndThenQuit: argumentStream "This allows you to run arbitrary code from the command line, specified a Smalltalk string to be evaluated. After evaluation, the string will be printed to standard out and the image will quit. Make very sure that we always quit, even if closing the stream doesn't work." <option: '-evaluate'> | expressions result | [ self class allowExpressions ifFalse: [^self]. [expressions := CommandLineInterest argumentsFrom: argumentStream. expressions do: [:each | result := Compiler evaluate: each. self stdout nextPutAll: result displayString]] ensure: [self stdout close]] ensure: [ObjectMemory quit]. On Tue, 28 Feb 2006 12:55:50 -0500, Alan Knight <knight <at> acm.org> wrote:(Continue reading)
Ladislav Lenart
>
> #(Parcel Override Refactory.Browser.RefactoryChangeManager
> ChangeHistorian NamespaceChangeListener Store.XMainChangeSet
> MiniChangeSetManager Refactory.Browser.PundleNavigatorPart
> Refactory.Browser.ClassNavigatorPart
> Refactory.Browser.MethodNavigatorPart
> Refactory.Browser.BrowserCodeTool
> Refactory.Browser.MethodNavigatorPart
> Refactory.Browser.BrowserCodeTool
> Refactory.Browser.SharedVariableProtocolNavigatorPart
> Refactory.Browser.SharedVariableNavigatorPart
> Refactory.Browser.MethodNavigatorPart Refactory.Browser.BrowserCodeTool)
RSS Feed