relaunch

How does one relaunch Finder programmatically?

If I ALT+RIGHTCLICK on the Finder icon, I get a "Relaunch" option in the context menu. I would like to programmatically relaunch finder, if at all possible. I'm sure there is a better way to do it than to just kill it and let it restart. Assume I have the proper authorization / permissions to do so already. Additionally, I would like...

After forced quit, "killall Finder" says "No matching processes..." but PID still exists?

Here's one for ya. Upon a forced quit of the Finder with unsuccessful relaunch, "killall Finder" in terminal returns: "No matching processes belonging to you were found" Oddly enough, the PID for finder does actually show up after a "ps -A" to reveal all processes. But the time is perpetually listed as 0:00:00, upon repeated PID listi...

Is there any way to force an iPhone application to relaunch?

Basically -[UIApplication openURL:] would be perfect, if it wasn't for the fact that it doesn't work within the same application (at least on simulator -- if this works on device someone please tell me). It's not a super big deal though if it just relaunches w/o URLness since I can obviously just persist some data. The goal of this is ...