[Vm-dev] Re: [Pharo-project] Using stdout in Windows --> 'File stdout is closed'

Igor Stasenko siguctua at gmail.com
Tue Apr 10 16:41:54 UTC 2012


On 10 April 2012 13:25, Martin Dias <tinchodias at gmail.com> wrote:
>
>
>
> On Tue, Apr 10, 2012 at 5:38 AM, Stefan Marr <smalltalk at stefan-marr.de> wrote:
>>
>>
>> Hi:
>>
>> On 10 Apr 2012, at 02:58, Martin Sandiford wrote:
>>
>> > I get the same thing if I start Cog with no special command line, and
>> > I think this seems kind of correct to me, as I'm not sure where the
>> > output would go when there is no console attached.
>> >
>> >    C:\foo> CogVM.exe test.image
>>
>> This works on unix/OSX, the stdout should just be the command line.
>> Strange that it seems to work for you when you do a redirect.
>
>
> Yes! that was I expected.
>
> Anyway Martin's answer helped me, and discovered that:
>
>    C:\foo> CogVM.exe test.image | more
>
> is ok for me.
>
> What I also didn't expect is that when running "-headless", still a window is opened. I read something about evaluating "UIManager default nonInteractiveManager" but I couldn't achieve to do so yet.

this is another issue :)


>
> Thanks!
>
>>
>>
>> Would guess that is a problem in the platform dependent code of the FilePlugin.
>>
>> Best regards
>> Stefan
>>
>>
>>
>> --
>> Stefan Marr
>> Software Languages Lab
>> Vrije Universiteit Brussel
>> Pleinlaan 2 / B-1050 Brussels / Belgium
>> http://soft.vub.ac.be/~smarr
>> Phone: +32 2 629 2974
>> Fax:   +32 2 629 3525
>>
>
>



-- 
Best regards,
Igor Stasenko.


More information about the Vm-dev mailing list