This is actually a two part question:
Part 1:
I've written a C++ "SIOUX Console App." It runs fine from within CodeWarrior, and on other systems, but when I call it from the console (bash or c-shell) the system says "permission denied." I opened permissions to 777, so it's not a permission related denied access. I'm guessing OSX is preventing any user from calling this application for some reason, but I can't seem to find out where that security option would be set if that is indeed the problem. I'd be happy to just call the application from the command line, passing in the arguments it needs. It's just a file parser. But I can't even do that at the moment.
Part 2:
A friend of mine suggested that there is a common mechanism on OSX for applications like this. Apparently it consists of a folder containing a script and the application itself. A user can the drop a file onto the folder, apparently the "folder" then passes the path to the file(s) dropped on the folder to the script, which in turn calls the actual application. Unfortunately, he didn't know precisely how to do this. If this, or something like this is possible, how does one do it?
Thanks in advance for any help.
Part 1:
I've written a C++ "SIOUX Console App." It runs fine from within CodeWarrior, and on other systems, but when I call it from the console (bash or c-shell) the system says "permission denied." I opened permissions to 777, so it's not a permission related denied access. I'm guessing OSX is preventing any user from calling this application for some reason, but I can't seem to find out where that security option would be set if that is indeed the problem. I'd be happy to just call the application from the command line, passing in the arguments it needs. It's just a file parser. But I can't even do that at the moment.
Part 2:
A friend of mine suggested that there is a common mechanism on OSX for applications like this. Apparently it consists of a folder containing a script and the application itself. A user can the drop a file onto the folder, apparently the "folder" then passes the path to the file(s) dropped on the folder to the script, which in turn calls the actual application. Unfortunately, he didn't know precisely how to do this. If this, or something like this is possible, how does one do it?
Thanks in advance for any help.