On 2012-06-28, at 22:01, Camillo Bruni wrote:

> 
> On 2012-06-28, at 21:31, Guillermo Polito wrote:
> 
>> Hi Camillo,
>> 
>> the latest introduction of this:
>> 
>>   "check if we have an opened stdin"
>>   FileStream stdin ifNotNilDo:[ :stream|
>>       stream atEnd ifFalse: [ ^ true ]].
>> 
>> (I assume for piping?)
> 
> exactly....
> 
>> Is messing with my other command line args... lets say I have another
>> command line argument that runs tests and I do:
>> 
>> Vm image --tests
>> 
>> It tries to open it with the EvaluateCommandLineHandler :S...
>> 
>> Args is:
>> 
>> an OrderedCollection('--test')
>> 
>> And the command line handlers after selecting the responsibles are:
>> 
>> an OrderedCollection(EvaluateCommandLineHandler
>> RunTestsCommandLineHandler DefaultCommandLineHandler)
>> 
>> By now I'll try putting my handler a higher priority (1 :P), but, is
>> this the expected behavior?
> 
> 
> 
> you're right, that's broken (AKA we should add some tests there :P)
> 
> I wanted to write something different there...

maybe the filestream test should simply be removed, then piping in
commands only works when explicitely specifying the "eval" handler

Reply via email to