Crashes with what? I do something similar in bash scripts like this:

    #!/bin/bash
    /Applications/Autodesk/maya2012/Maya.app/Contents/bin/mayapy
/path/to/script.py "$@"

And then script.py might contain:

    if __name__ == "__main__":
import maya.standalone
maya.standalone.initialize(name="python")

import sys
print "Args:", sys.argv[1:]



On Fri, Jun 1, 2012 at 11:22 AM, Carlo <[email protected]> wrote:

> Arite thank you, I'm going to give that a shot in a few. Also, what is the
> best way of running maya standalone? I've been making a bat file and
> executing it that way, but when I try that same method on other computers
> it crashes?
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to