Hi, i would like to run several maya scripts from the command line and i would like each script to be executed by the same mayapy.exe instance.
the intention is to run this command line from another python script via subprocess.Popen... so the desired behaviour is to have a single instance of the mayapy.exe subprocess (as a detached process) and issue different scripts to this. More generically... is it possible to run different commands to the same process? something like: p1 = subprocess.Popen([interpreter.exe,script1,arg1,arg2]) p2 = subprocess.Popen([interpreter.exe,script2,arg3,arg2]) and have script2 be ran by the same process as script1? (not just another instance?) -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CANOg8wXs1XnqmikNOXoegzLJ%3DJgGp-z1MpRvRP6ZDh24u2FNJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.