March 18th, 2010,06:19 PM
I am sure nuke is already able to do that.
When I remember correctly there is nuke.scriptOpen(filename) to open the script in a new instance and nuke.scriptAdd(filename) to load it into the current script. No need to do system calls.
You can easily look this up in the python reference. Also nuke's init.py and menu.py are a great source to look for things like this. You could for example look what the menu File -> Open Script is calling as it is exactly doing what you are looking for except that there is a fileselect dialog to select the script to open.
Digital Artist : Compositor / TD - nuke | shake | after effects -
tinitron.de