OS X - how to write to a file associated as a Unix executable
gbojsza at gmail.com
Mon Feb 29 16:13:56 EST 2016
I am trying to write the from a text field to a file and then change the
file so it is executable.
put field "mytest" into URL "binfile:~/race"
put field "mytest" into URL "file:~/race"
The file race is created in either case but are associated with textedit.
I require it to be recognized as a Unix executable associated with the
terminal application once I have done a chmod +rx on it
If I just save a file from textmate and do a chmod +rx then it works.
So it has to do with how I am saving it out of LC.
More information about the Use-livecode