Re: Self contained command line tool
Re: Self contained command line tool
- Subject: Re: Self contained command line tool
- From: email@hidden
- Date: Fri, 12 Oct 2012 14:26:14 -0400
I'm not certain this is what you want, but could you use Automator to create an app that runs your executable as a shell script? I don't know if that will give you a file you drag onto it as a command line parameter or not.
Dave
On Oct 12, 2012, at 2:11 PM, Gene Crucean <email@hidden> wrote:
> There are lot's of reasons for this. You can drag and drop a file to
> perform some automated task on it, or just automate some task. You can also
> use cron jobs to launch the app. Just the other day I whipped up a tiny app
> that lets me drag and drop files/folders onto my app's icon to use 7zip for
> archiving. Those are simple examples but you can do quite a bit without an
> interface :)
>
> Cheers
>
>
> On Fri, Oct 12, 2012 at 9:09 AM, Kyle Sluder <email@hidden> wrote:
>
>> On Oct 10, 2012, at 3:24 PM, Charlie Dickman <email@hidden>
>> wrote:
>>
>>> I have created a command line tool that executes correctly in the
>> debugger. How do I get the built binary to execute independently without
>> starting the Terminal app.
>>
>> I'm sorry, your question doesn't make sense. You've written a command line
>> tool; why are you trying to execute it any other way than from the command
>> line?
>>
>> --Kyle Sluder
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden
>>
>
>
>
> --
> Gene Crucean - Emmy winning - Oscar nominated VFX Supervisor / iOS-OSX
> Developer / Filmmaker / Photographer
> ** *Freelance for hire* **
> www.genecrucean.com
>
> ~~ Please use my website's contact form on www.genecrucean.com for any
> personal emails. Thanks. I may not get them at this address. ~~
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden