Interesting; would you mind posting the contents of a .command file that works for you to open Pd with flags? Thanks.
I try this: ############ #! /bin/sh
../Shared/Documents/CSHJr/JIsequencershare/Pd-0.39-2.app/Contents/MacOS/Pd -font 36 ############
Last login: Fri Sep 8 13:44:16 on ttyp1 Welcome to Darwin! /Users/Shared/Documents/CSHJr/JIsequencershare/JI.command; exit AC-T1212-M13:~ student$ /Users/Shared/Documents/CSHJr/JIsequencershare/JI.command; exit retrying connect... retrying connect... retrying connect... retrying connect... retrying connect... retrying connect... retrying connect... retrying connect... retrying connect... connecting stream socket: Invalid argument (22) logout [Process completed] =============
On 9/8/06, Max Neupert abonnements@revolwear.com wrote:
Am 08.09.2006 um 15:43 schrieb Chuckk Hubbard:
What I'm asking is a) how to set the folder relative to where the commandline is called from, and b) how to send Pd flags to Pd. Simply typing them after the Pd command does not work.
well, it does work here.
-Chuckk
On 9/8/06, Max Neupert abonnements@revolwear.com wrote:
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
-- "Far and away the best prize that life has to offer is the chance to work hard at work worth doing." -Theodore Roosevelt