At 1:22 PM -0700 10/14/05, Chris Nandor wrote:
I just uploaded Mac::Apps::Launch. Now IsRunning() returns the PSN, instead of simple true/false (1/0).Here's a fun, simple, and efficient script to kill the Dock (which should relaunch immediately): use Mac::Apps::Launch 1.92; use Mac::Processes; use POSIX 'SIGTERM'; my $psn = IsRunning('com.apple.dock'); kill SIGTERM, GetProcessPID($psn);
Don't try that with Launch 1.91! -- Thanks, James Reynolds University of Utah Student Computing Labs [EMAIL PROTECTED] 801-585-9811
