I've got a problem with using NSTask and the arguments. The app i'm running with NSTask accepts multiple words separated by a space as its arguments. There can be as many of these words as the user wants. I'm currently getting the user input from a textfield, and then converting it into a string. This string is then added to an array used as the argument for the nstask. The problem is that when the user enters multiple words, there is obviously still only 1 nsstring. However, the console app will take this argument in as only 1, not each word separated. For example, if the user entered "word1 word2" in the text field, the console app would take that entire string as one argument. I need to have it as 2 arguments. Is there anyway to accomplish this?
Thanks for any help
Mike