Is it possible to add another icon to the dock at runtime without using [NSWorkspace launchApplication:]
?
How?
Before you say 'no': I am willing to use stuff like fork()
etc.
I actually tried a bit with fork()
but I get the error:
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.