hi,
what chris meant with the full path is running the pd executable and
not opening the pd.app application package which is rather an
obfuscated folder. this is what the open command in the shell does.
so type
/Applications/Pd-0.39.2-extended-test4.app/Contents/Resources/bin/pd - your -flags -here
instead of
open /Applications/Pd-0.39.2-extended-test4.app
you might need the tcl/tk installed to make that work.
m.
Am 08.09.2006 um 06:24 schrieb Chuckk Hubbard:
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
-- "Far and away the best prize that life has to offer is the chance to work hard at work worth doing." -Theodore Roosevelt
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list