Skip navigation.
 
mlRe: Best way to execute a shell script from a cocoa application
FROM : Jean-Daniel Dupas
DATE : Tue Mar 18 19:30:16 2008

Le 18 mars 08 à 19:14, Ryan Chapman a écrit :

>
>
> What is the best way to execute a shell script from a Cocoa 
> application?
> I need to be able to specify arguments, like what execv() provides.
>
>
> -Ryan


NSTask  is able to launch an executable with arguments.

Related mailsAuthorDate
mlBest way to execute a shell script from a cocoa application Ryan Chapman Mar 18, 19:14
mlRe: Best way to execute a shell script from a cocoa application Jean-Daniel Dupas Mar 18, 19:30
mlRe: Best way to execute a shell script from a cocoa application Mark Dawson Mar 19, 01:02