Darwin interface
  #1 (permalink)  
Unread 06-01-2009, 11:33 AM
yossim yossim is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Default Darwin interface

Hi,

I'm new to xcode and macOS.

I have to create a bundle with a function that extracts a ziped file.
I found out that darwin have an unzip command.

How do I create a batch file in macOS?
(which application should I use...)
(Is the batch file extention is .command?)

How can I execute it from c code?

Thanks
Yossi
Reply With Quote

use system call
  #2 (permalink)  
Unread 06-04-2009, 12:37 PM
yossim yossim is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Default use system call

I got the answer.
No need to create a bash file, just call from c-code to -

system("<Darwin command>");
Reply With Quote
Reply

Tags
command, darwin, unzip

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT. The time now is 11:03 PM.


vBulletin skin developed by: eXtremepixels
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28