Shebang usage? Windows "open with?"

Started by
0 comments, last by DakeDesu 20 years, 10 months ago
Well, as you might have seen, I am working on a scripting language. I am just curious, how one would use the shebang on POSIX systems, or "open with" on the various windows. I know that something like: #!/bin/env python2.2 can be used to make a script use that interpretor, how does the interpretor understand that it is being called via the shebang? Is there any keywords I should search for on Google? Thank you. -=- "Boy? Girl? It does not matter, all that matters is power, and beauty is power. I am beautiful, so I have power and that is all that matters." Got Immortality?
[ Six Hour Game Contest | ( Thread | Blog | Wiki | 6hour Bio ) ][ Website | (Blog | Gallery ) ]
Advertisement
I would be guessing that there is a hidden command line argument, much like the ''this'' pointer in C++ classes, or the application path argument in the windows command line.

This topic is closed to new replies.

Advertisement