WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

Commit 3fabf1e7 authored by Stefan Marr's avatar Stefan Marr
Browse files

Make sure command-line arguments are properly turned into SOM objects (i.e. Strings)


Signed-off-by: default avatarStefan Marr <git@stefan-marr.de>
parent a3af5c17
......@@ -102,9 +102,7 @@ class Universe(object):
bootstrap_frame.push(receiver)
if arguments:
# Convert the arguments into an array
arguments_array = self.new_array_from_list(arguments)
bootstrap_frame.push(arguments_array)
bootstrap_frame.push(arguments)
return bootstrap_frame
......@@ -123,7 +121,9 @@ class Universe(object):
shell.start()
return
else:
bootstrap_frame = self._create_bootstrap_frame(bootstrap_method, system_object, arguments)
# Convert the arguments into an array
arguments_array = self.new_array_with_strings(arguments)
bootstrap_frame = self._create_bootstrap_frame(bootstrap_method, system_object, arguments_array)
# Lookup the initialize invokable on the system class
initialize = self._systemClass.lookup_invokable(self.symbol_for("initialize:"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment