The thing is that we can load more than one patch. I think something
like this could work:
pd patch1.pd -a "1 2 3" patch2.pd -a "foo bar"
But we could move the bikeshedding to GitHub ;-)
https://github.com/pure-data/pure-data/issues/1058
Christof
On 08.06.2020 17:09, Dan Wilcox wrote:
Or Pd can recognize the "--" flag which disables command line parsing
hereafter. I looked into this as it was helpful for debugging the
sound file stuff and found it was an easy change to make. I just never
formalized it for a PR etc.
On Jun 8, 2020, at 5:00 PM, pd-list-requ...@lists.iem.at
<mailto:pd-list-requ...@lists.iem.at> wrote:
Date: Mon, 8 Jun 2020 15:12:34 +0100
From: Sebastian Lexer <s.le...@incalcando.com
<mailto:s.le...@incalcando.com>>
To: Pd-List <pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>>,
Christof Ressi
<i...@christofressi.com <mailto:i...@christofressi.com>>
Subject: Re: [PD] Pass arg to Pd via terminal
Message-ID: <5ef354dd-97bc-4cbc-bc3b-a1df8c93fcae@Spark>
Content-Type: text/plain; charset="utf-8"
I like this idea very much! Could there be an argument flag? e.g.
$ pd mypatch.pd -a 23
Basically like terminal commands in sox, where the flags apply to
import and output files dependent on the placement, in PD it could
work as flags for PD before and in between the filename(s) to be opened.
--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com>
robotcowboy.com <http://robotcowboy.com>
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list