Thanks. I want to have a .command file that, when my user double-clicks it, will open Pd with whatever flags I tell it, with everything in a folder that my user can put anywhere.
From what I can tell, there is no way to pass a path to the command
line relative to the folder from which it is called. pwd gives me /Users/student, which only has a symbolic link to the Documents folder, meaning I have to switch to /Users/Shared to run Pd, and I don't know what kind of user names or folders my user will have. "./" goes from the home directory of the current user, not the directory of the .command file.
The Pd command also doesn't respond to my flags from within this .command file, nor will the open command allow me to use any.
(I'm not just bogging down the list, btw, I've been searching high and low for answers to this online.)
Thanks for your help! -Chuckk
On 9/7/06, chris clepper cgclepper@gmail.com wrote:
Just use the full path when starting Pd.
On 9/7/06, Chuckk Hubbard badmuthahubbard@gmail.com wrote:
On 9/7/06, Chuckk Hubbard <badmuthahubbard@gmail.com > wrote:
On 9/6/06, chris clepper cgclepper@gmail.com wrote:
What's the executable bit?
Nevermind, I found this, and did it, and I can run a .command file to change to the Pd directory and list the contents, and I see "Pd" in the readout. If I add the line: Pd
after changing to that directory, it says: Pd: command not found
Any ideas why?
-Chuckk
-- "Far and away the best prize that life has to offer is the chance to work hard at work worth doing." -Theodore Roosevelt