command line tool called from php
command line tool called from php
- Subject: command line tool called from php
- From: Rainer Standke <email@hidden>
- Date: Mon, 22 Aug 2011 22:45:08 -0700
Hello,
I have a command line tool that uses foundation. When I run that tool from the command line it does what I need it to do. This includes sending an NSNotification to a Cocoa application via the NSDistributedNotificationCenter.
When I call the same command line tool from a php page served by Apache on the same machine, the notification is never sent.
I could solve the same problem using a NSService, but when called from php the call to the service is never made.
I wonder what I can do about that. This seems very much like a security/protection issue, so the question is whether there is a work-around that could be used responsibly.
Thanks for any advice,
Rainer
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden