RE: Launching a background app from within a Preferences Pane
RE: Launching a background app from within a Preferences Pane
- Subject: RE: Launching a background app from within a Preferences Pane
- From: "ROSE,ROBERT W (HP-Corvallis,ex1)" <email@hidden>
- Date: Thu, 3 Apr 2003 20:12:50 -0800
Nevermind.... I just discovered using the console viewer that NSTask is
working fine; my program is just behaving oddly when it's launched from this
particular directory... :-)
You gotta love it..
-robert
-----Original Message-----
From: ROSE,ROBERT W (HP-Corvallis,ex1) [
mailto:email@hidden]
Sent: Thursday, April 03, 2003 8:08 PM
To: 'email@hidden'
Subject: Launching a background app from within a Preferences Pane
Hi folks... It's me again... :-) Thanks for all your help, you guys rock!
This time I'm trying to launch my background application (command line app)
from within a Preferences Pane. This is bizarre--launching the program
works fine, as long as I'm debugging. If I try to just run System
Preferences by itself nothing happens. So far I've tried using NSTask,
-[NSWorkspace launchApplication:], and system() and they all produce the
same behavior: it only works from within the debugger.
I know it's not a path problem, I'm specifying the full system path (for
testing)...
I'm pretty sure the program's not running, it's supposed to write a file
right after it launches.
Thanks!
-robert rose
hp corvallis
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.