• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
command line tool called from php
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: command line tool called from php
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Is there any API to detect the WIFI/CELL Signal Strength
  • Next by Date: Re: command line tool called from php
  • Previous by thread: Re: Is there any API to detect the WIFI/CELL Signal Strength
  • Next by thread: Re: command line tool called from php
  • Index(es):
    • Date
    • Thread