[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] 6.7.4 system interfaces
On 05/20/2011 12:31 AM, Alex Shinn wrote:
> On Fri, May 20, 2011 at 12:26 AM, Per Bothner<per@x> wrote:
>> On 05/19/2011 04:00 PM, John Cowan wrote:
>>> Andy Wingo scripsit:
>>>> Does `command-line' include the equivalent of argv ?
>>> System-dependent. JVM/CLR systems have no analogue of argv.
>> That makes standardizing command-line completely useless.
> I think John meant to say that the "value" of the zeroth
> element of (command-line) is system-dependent - it is
> supposed to represent the program name, and may just
> be "<unknown>" in some implementations.
That is ok, though it would be better if there were some
standardized representation of "<unknown>". I think either
"" or #f would be reasonable.
I would read the question:
Does `command-line' include the equivalent of argv
is the first element (car) of command-line argv or argv
and we *really* don't want that to be unspecified.
Scheme-reports mailing list