Forum: Poser Python Scripting


Subject: Load an external program from Python?

layingback opened this issue on Nov 15, 2003 ยท 2 posts


stewer posted Sun, 16 November 2003 at 10:14 AM

Attached Link: http://www.python.org/doc/2.2/lib/os-process.html

You can use os.spawnv() to launch an external application in a separate thread, os.execv() to run the command in the same thread (making your script an Poser wait until the command finishes). You can read details about it in the Python documentation, see the link.