Issue 39: Provide for passing arguments to scripts
http://code.google.com/p/v8/issues/detail?id=39

Comment #3 by christian.plesner.hansen:
I wouldn't want to complicate the shell sample further by adding this but  
it's fine
to add to d8.  I also think using a '--' to separate the v8 and script  
arguments is
the right approach.

I don't believe the patch works however.  If you were to write a flag that  
v8
understands after the --, say --trace, it would be consumed by the v8 flag  
parser and
not passed to the script.  For this to work properly I expect some changes  
would have
to be made to the internal flag parser as well to leave everything after --
unchanged.

I don't expect I'll implement this any time soon but I'll be happy to apply  
a patch
if someone feels like giving it a shot.


Issue attribute updates:
        Status: Accepted
        Owner: christian.plesner.hansen
        Labels: Type-FeatureRequest Priority-Low

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to