Re: Creating Cocoa Windows from Command Line Apps
Re: Creating Cocoa Windows from Command Line Apps
- Subject: Re: Creating Cocoa Windows from Command Line Apps
- From: Guy English <email@hidden>
- Date: Thu, 20 Jan 2005 19:12:04 -0500
On Thu, 20 Jan 2005 19:04:14 -0500, The Karl Adam <email@hidden>
> You guys do know that in Panther you can go right into an application
> bundle and start these applications directly? They work fine.
It's not so much launching the process from the command line that
breaks things it's the lack of an application bundle. All kinds of bad
thing can and will go on.
No info.plist for example which NSApplication may require in some
wierd way you'll never guess. The Dock might get right confused when
it tries to talk to your GUI app and it's missing this kind of
information too. In general it's probably not going to work, and
certainly isn't something I'd rely on.
Make a helper GUI tool that will launch then send it commands from
your command line program. Sort of the inverse of what is normally
done but you'll be happier in the end I think.
Guy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden