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.
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.






Cocoa mail archive

