Thanks for your answers guys. I will try the Popen process and see how that turns out, seems like an interesting option, though I am not sure it would launch a new terminal window in OS X, if the user did not launch the application through the terminal originally.
Also, I have tried the backslash quote syntax, which surprisingly did not seem to work. I will keep you posted, many thanks, Mathieu Jolicoeur On Wed, May 18, 2011 at 3:17 PM, Mathieu Jolicoeur <[email protected]> wrote: > First off, hello world! I am very happy to have stumbled on this mailing list! > > I am trying to modify my background render launcher to have parallel > processes with defined framerange. I am working in OS X and like to > launch my renders in the Terminal so I can monitor the progress. > > Right now I am using command: > > > os.system(" " "osascript -e 'tell app "Terminal" to do script > "/Applications/Nuke6.1v2/Nuke6.1v2.app/Contents/MacOS/Nuke6.1v2 -i -f > -t -m 8 -F 1-100x1 -X Write1 /path/to/test.nk" ' " " ") > > > The osascript command is simple Applescript to launch instance of > Terminal application. This works fine. My problem is that I am unable > to insert a specific set of frame numbers in the command, such as: > > > os.system(" " "osascript -e 'tell app "Terminal" to do script > "/Applications/Nuke6.1v2/Nuke6.1v2.app/Contents/MacOS/Nuke6.1v2 -i -f > -t -m 8 -F "8 16 24 32 40 48 56 64 72 80 88 96" -X Write1 > /path/to/test.nk" ' " " ") > > > I tried with a couple different types of quoting syntax, but cannot > seem to find how to make it work. Can someone help me with the syntax? > > > Thanks, > > Mathieu Jolicoeur > _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
