[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] 6.7.4 system interfaces
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.
Perhaps we should follow shsh in that command-line-arguments returns a list
of the actual arguments (not including argv), and (command-line)
returns (cons PROGRAM command-line-arguments), where
PROGRAM returns argv if known and sensible, and "" otherwise.
Regardless, (car (command-line)) should be either argv or some
value that indicates that argv is unknown.
Scheme-reports mailing list