Will Coleda <[EMAIL PROTECTED]> wrote: > To implement tcl's > [info nameofexecutable]
> I need to get the name of the exectuable parrot was invoked with. I would > have expected to live in interpinfo, but don't see it there. The executable name (and all interpreter arguments) are swallowed by imcc/main.c:parseflags. AFAIK is the access to the executable name not really portable, e.g. if it contains the full path or not. Perl5 has for sure some code to create $0. Patches welcome. > Anyone have a pointer to where this is? (If it's not in yet, I'll > add a TODO) Thanks, leo