Menu

#236 old Tcl/Tk on Mac OS X 10.5 has issues with fork()/exec()

open
puredata (322)
5
2008-05-15
2008-02-10
No

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

Discussion

  • David Plans Casal

    • assigned_to: nobody --> millerpuckette
     
  • Russell Bryant

    Russell Bryant - 2008-02-13

    Logged In: YES
    user_id=1942915
    Originator: NO

    This patch was actually written by me. :)

     
  • Hans-Christoph Steiner

    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.

     
  • Hans-Christoph Steiner

    • status: open --> closed
     
  • Hans-Christoph Steiner

    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.

     
  • Hans-Christoph Steiner

    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

     
  • Hans-Christoph Steiner

    • labels: 680704 --> puredata
    • milestone: 445837 -->
    • summary: Repairing s_inter.c so it behaves with OSX 10.5 --> old Tcl/Tk on Mac OS X 10.5 has issues with fork()/exec()
    • status: closed --> open
     

Anonymous
Anonymous

Add attachments
Cancel