REBOL3 tracker
  0.9.12 beta
Ticket #0000628 User: anonymous

Project:

Previous Next
rss
TypeBug Statustested Date13-Feb-2009 10:29
Versionalpha 33 Categoryn/a Submitted bymanum
PlatformAll Severitymajor Priorityhigh

Summary REBOL loses its args
Description When I launch a script with args I can't get the args

system/options/args is none
system/script/args is none
Example code
The script testLaunch.r3

REBOL []
print system/options/args
print system/script/args
ask "ok?"

From alpha
>> launch/args %testLaunch.r3 "text1 text2"

Assigned ton/a Fixed inalpha 51 Last Update6-May-2009 00:57


Comments
(0000427)
BrianH
13-Feb-2009 11:28

The real problem is that R3 ignores its command line arguments in general:
- system/option/args is not getting set by the startup code.
- system/script/args is not getting set by the begin intrinsic (though that requires the above).

LAUNCH is fine.
(0000597)
BrianH
29-Apr-2009 22:01

As of alpha 48, system/options/args is being set by the startup code, but system/script/args is not being set by the begin intrinsic.

Not fixed yet.

Date User Field Action Change
6-May-2009 00:57 BrianH Status Modified built => tested
5-May-2009 23:23 carl Status Modified reviewed => built
5-May-2009 23:23 carl Fixedin Modified => alpha 51
29-Apr-2009 22:02 BrianH Status Modified built => reviewed
29-Apr-2009 22:02 BrianH Fixedin Modified alpha 48 => none
29-Apr-2009 22:01 BrianH Comment : 0000597 Added -
29-Apr-2009 16:09 carl Status Modified reviewed => built
29-Apr-2009 16:09 carl Fixedin Modified => alpha 48
25-Mar-2009 10:30 BrianH Comment : 0000427 Modified -
25-Mar-2009 10:25 BrianH Platform Modified Windows => All
25-Mar-2009 10:25 BrianH Summary Modified LAUNCH/args loses his args => REBOL loses its args
25-Mar-2009 10:23 BrianH Priority Modified normal => high
13-Feb-2009 11:28 BrianH Comment : 0000427 Added -
13-Feb-2009 11:26 BrianH Status Modified submitted => reviewed
13-Feb-2009 11:26 BrianH Severity Modified minor => major
13-Feb-2009 11:26 BrianH Code Modified -
13-Feb-2009 11:26 BrianH Description Modified -
13-Feb-2009 10:29 manum Ticket Added -