Calls to sys_guicmd between fork() and exec were causing 'you must exec!' errors to do with new Frameworks policy. This patch puts the sys_guicmd before the fork, and was tested on 10.5.1
hmm, this patch would only have any effect if Pd was launched on the command line using /path/to/bin/pd. When you start Pd on Mac OS X, Wish/Tcl starts first, then that opens Pd. So perhaps this problem needs to be fixed in Tcl.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I decided to make this a bug report again, since Tcl/Tk will need to be updated to fix this. Also, here's the changelog that notes the fork() fix in question, search for 2008-03-11:
Logged In: YES
user_id=1942915
Originator: NO
This patch was actually written by me. :)
Logged In: YES
user_id=27104
Originator: NO
hmm, this patch would only have any effect if Pd was launched on the command line using /path/to/bin/pd. When you start Pd on Mac OS X, Wish/Tcl starts first, then that opens Pd. So perhaps this problem needs to be fixed in Tcl.
Logged In: YES
user_id=27104
Originator: NO
looks like the fix for this problem is included in Tcl/Tk 8.4.19, so I am closing this patch.
Logged In: YES
user_id=27104
Originator: NO
I decided to make this a bug report again, since Tcl/Tk will need to be updated to fix this. Also, here's the changelog that notes the fork() fix in question, search for 2008-03-11:
http://sourceforge.net/project/shownotes.php?release_id=592164&group_id=10894