Bugs: Browse | Submit New | Admin
I have a script that makes itunes into an alarm clock, turning off and on at whatever intervals I tell it to. [1]. It reads a command string, breaks it down into distinct commands, and forks a process for each command that will either start or stop itunes at the specified time. Forking a process and calling OSA has unhappy results[2]. >> Process.fork do ?> m = OSA.app('Mail') >> end => 87041 >> "The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug." [and it spits this out a bunch of times] Any ideas? I'm baffled, it worked fine in tiger and now it breaks with both my own ruby install (macports, /opt/local/bin/ruby) and leopard's ruby. 1. http://pastie.caboo.se/115463 2. http://pastie.caboo.se/115466
Add A Comment:
Date: 2007-11-10 04:21 Sender: Kjell Olsen Posted a screengrab of the console logs after a crash, nothing that google is helping me figure out.