How can I get the command-line arguments in an embedded Pig script?
===

I'm writing an embedded pig script in python, and I'd like to pass arguments like this:

    $ pig myscript.py arg1 arg2

I'd expect `sys.argv` to be `['myscript.py', 'arg1', 'arg2']`, but it's empty.

Any idea how I can pass command-line arguments to an embedded pig script?