back to list

Question for Mac OSX programmers

🔗john777music <jfos777@...>

5/10/2010 12:21:40 PM

I wrote a command line program that runs in the Terminal program. It works fine at my end but when I downloaded it from my Yahoo tuning folder it wouldn't run. I tried adding a .command extension but still no joy. Any one got any ideas on how to fix this?

John.

🔗jrinkel@...

5/10/2010 12:29:20 PM

Not sure how you are sending it to and from Yahoo, but when you get it back on your computer, from the command line, verify that execution privileges for the file are set by doing an "ls -l" command on the file. If the execution privileges are not set use the "chmod" command. Documentation for these commands should be available using the man pages or look for the details on the internet. I hope that this will help point you to the situation.

Jay

Quoting john777music <jfos777@...>:

> I wrote a command line program that runs in the Terminal program. It > works fine at my end but when I downloaded it from my Yahoo tuning > folder it wouldn't run. I tried adding a .command extension but > still no joy. Any one got any ideas on how to fix this?
>
> John.
>
>

🔗john777music <jfos777@...>

5/10/2010 12:49:25 PM

Thanks Jay,

I tried compressing the files before sending them and they now seem to work okay.

Thanks again,

John.

--- In tuning@yahoogroups.com, jrinkel@... wrote:
>
> Not sure how you are sending it to and from Yahoo, but when you get it
> back on your computer, from the command line, verify that execution
> privileges for the file are set by doing an "ls -l" command on the
> file. If the execution privileges are not set use the "chmod"
> command. Documentation for these commands should be available using
> the man pages or look for the details on the internet. I hope that
> this will help point you to the situation.
>
> Jay
>
> Quoting john777music <jfos777@...>:
>
> > I wrote a command line program that runs in the Terminal program. It
> > works fine at my end but when I downloaded it from my Yahoo tuning
> > folder it wouldn't run. I tried adding a .command extension but
> > still no joy. Any one got any ideas on how to fix this?
> >
> > John.
> >
> >
>