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: The Karl Adam <email@hidden>
- Date: Thu, 20 Jan 2005 19:04:14 -0500
You guys do know that in Panther you can go right into an application
bundle and start these applications directly? They work fine. The
problem here is that he is missing necessary handling of events that
happen either in NSApplication or in NSRunLoop.
P.S. you guys can start any app you want from the command line to see
what I mean. In prior versions of OS X, you couldn't do this without a
bus error.
-Karl
On Thu, 20 Jan 2005 15:58:30 -0800, John Stiles <email@hidden> wrote:
> GUI-based apps will fail in a variety of ways if run from the command
> line.
> They will kind of limp, and some things will work, but there will be
> all kinds of strangeness and inexplicable bugs.
> Don't do it.
>
>
> On Jan 20, 2005, at 3:55 PM, The Karl Adam wrote:
>
> > Well, to be fair the problem is probably a lack of an NSApplication
> > instance to manage the window views and the main run loop.
> >
> > -Karl
> >
> > On Thu, 20 Jan 2005 17:16:47 +0000, Finlay Dobbie
> > <email@hidden> wrote:
> >> On Thu, 20 Jan 2005 15:50:06 +0100, Lachlan Blackhall
> >> <email@hidden> wrote:
> >>> Gday,
> >>>
> >>> I have been using the vtk (www.vtk.org) libraries and when i write a
> >>> command line program that calls these libraries i get the following
> >>> problem.
> >>>
> >>> I start the program from the console with ./VTKtest and the program
> >>> creates a cocoa window with the visualisation in it. All good.
> >>
> >> Using windows and stuff from commandline tools (i.e. unbundled
> >> applications) is not supported. Don't do it.
> >>
> >> -- Finlay
> >> _______________________________________________
> >> 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
> >>
> > _______________________________________________
> > 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
>
>
_______________________________________________
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