views:

56

answers:

2

Is there any tutorials or references, if such thing is possible, to make GUI applications out of command line apps?
What I mean is, having a command line app, wrap it into an app bundle and create a Cocoa GUI app that would have a simple interface to execute the command line app with its flags and parameters.

+3  A: 

As a matter of fact there are. Here is the first hit for a Google search:

What you're looking for is the NSTask class. Check out the documentation for all the information you need.

Carl Norum
A: 

For very simple scripts, I recommend Platypus. For more complicated scenarios, you could try something like Pashua.

vasi