1

I'd like to get pointed to a reference or guide on executing a command line program (namely the php interpreter) from a MacOS Cocoa/Objective-C application, and getting its output (namely the stdout from the php script execution)

If there's something about it in http://developer.apple.com/library/mac/, which I couldn't find, great! if not, from anywhere else.

Thanks!

2
  • 2
    See stackoverflow.com/questions/1475182/… Commented Jun 12, 2011 at 15:35
  • You want NSTask. There are many, many questions about it on Stack Overflow, some of which with examples of how to read stdout. Commented Jun 12, 2011 at 21:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.