[Pharo-project] EvaluateCommandLineHandler changes
camillobruni at gmail.com
Thu Jun 28 16:01:43 EDT 2012
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?)
> 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...
(super isResponsibleFor: args)
More information about the Pharo-dev