Skip navigation.
 
mlRe: Calling a unix command from Cocoa ?
FROM : ssudre2
DATE : Sat Nov 09 00:13:59 2002

On vendredi, novembre 8, 2002, at 07:59  PM, Robert Miller wrote:

> Hello ,
>
>     OK, here's a dumb question. Can anyone tell me if it is possible to
> call a unix command from within a running Cocoa application ? (in my
> case flex and bison) ?  And if so, what's the secret ? For some reason
> there doesn't seem to be any documentation or examples available on
> this topic unless I'm missing something which is entirely possible..


2 solutions:

- system();

- NSTask (in Foundation). Some source code using it to launch a perl
script:

http://s.sudre.free.fr/Software/Source/scheaderdocServices.tar.gz
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlCalling a unix command from Cocoa ? Robert Miller Nov 8, 19:59
mlRe: Calling a unix command from Cocoa ? David Remahl Nov 8, 23:41
mlRe: Calling a unix command from Cocoa ? Marco Binder Nov 8, 23:48
mlRe: Calling a unix command from Cocoa ? Stuart Ball Nov 9, 00:03
mlRe: Calling a unix command from Cocoa ? Finlay Dobbie Nov 9, 00:05
mlRe: Calling a unix command from Cocoa ? ssudre2 Nov 9, 00:13
mlRe: Calling a unix command from Cocoa ? Chris Parker Nov 9, 00:30
mlRe: Calling a unix command from Cocoa ? Scott Anguish Nov 9, 00:39
mlRe: Calling a unix command from Cocoa ? Nicholas Riley Nov 9, 00:45
mlRe: Calling a unix command from Cocoa ? Yann Bizeul Nov 9, 01:20
mlRe: Calling a unix command from Cocoa ? Charles Srstka Nov 9, 01:58
mlRe: Calling a unix command from Cocoa ? Charles Srstka Nov 9, 01:58
mlRe: Calling a unix command from Cocoa ? T G Nov 9, 02:11
mlRe: Calling a unix command from Cocoa ? Thomas Castiglione Nov 9, 02:37
mlRe: Calling a unix command from Cocoa ? Andreas Mayer Nov 9, 03:09
mlRe: Calling a unix command from Cocoa ? Dan Wood Nov 9, 06:28
mlRe: Calling a unix command from Cocoa ? Drew McCormack Nov 9, 09:15
mlRe: Calling a unix command from Cocoa ? j o a r Nov 9, 10:08