Aside from an issue I've encountered with Windows
VM answering an empty string for the first command line parameter, rather than
nil.
Workaround :
CommandLine
class>>commandLineInput
"self
commandLineInput"
| str index args |
args :=
OrderedCollection new.
str := Smalltalk getSystemAttribute: (index :=
2).
[ str isNil or: [ str isEmpty ] ] whileFalse:
[ args add: str.
str := Smalltalk
getSystemAttribute: (index := index + 1) ].
^ args.
(Sorry, can't login to create an issue at
present...)
Regards, Gary
----- Original Message -----
Sent: Wednesday, May 25, 2011 10:33
AM
Subject: Re: [Pharo-project] Do we freeze
1.3?
+1
--
Mariano
http://marianopeck.wordpress.com