Objective C launching NSTask to run a shell script and get output
Hey Guys,
I am having a problem getting NSTask to launch my shell script and output the results. I believe it is launching the script correctly, however I would like to acquire the output, error messages and perhaps even input... there are no errors about invalid launch-paths, so assume it is launching, I have implemented pipes and a dozen different ways to get this problem solved, but to no avail, so any input would be appreciated.
here are the basics of my model:
Firstly the script is essentially anything... I just want to get my scaffold working before I get too bogged down in scripting again... It is located in the resources folder called hello.sh