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-request@lists.iem.at wrote:

Date: Mon, 8 Jun 2020 15:12:34 +0100
From: Sebastian Lexer <s.lexer@incalcando.com>
To: Pd-List <pd-list@lists.iem.at>, Christof Ressi
<info@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
danomatika.com
robotcowboy.com