Re: [NewB] calling shell from ObjC within a PreferencesPane
Re: [NewB] calling shell from ObjC within a PreferencesPane
- Subject: Re: [NewB] calling shell from ObjC within a PreferencesPane
- From: Yvon Thoraval <email@hidden>
- Date: Tue, 31 Oct 2006 15:47:05 +0100
Le 31 oct. 06 à 14:59, Sherm Pendley a écrit :
NSTask
also i will have to open a window for the user to authentificate
No you won't - the authentication framework will pop up a window
automatically if needed. See:
<http://developer.apple.com/documentation/Security/Conceptual/
authorization_concepts/index.html>
<http://developer.apple.com/documentation/Security/Reference/
authorization_ref/index.html>
fine thanks.
this server as process to be put in daily crontab
---------------------^- i do have forgotten an "h" here ...
I thought you said it was a daemon? Make up your mind.
yes their is daemon BUT in order to expire old posts leafnode (the
daemon) has another bin called "texpire" which as to be run, as
default value, once a day.
, i know how to use the crontab under shell but how from ObjC.
There's no programmatic API that I know of. Just use NSTask to run
the shell command.
ok i'll see with "NSTask"
thanks again,
best
Yvon _______________________________________________
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