Processing-java CLI arguments for 4.4.4 on Mac

Hi ,

I am trying to pass arguments via the command line - and following the wiki suggestions to pass args after the --run command for example. However, I am getting an error from processing-java from the command line.

$ processing-java --sketch=my/sketch/folder --run 123 abc
Usage : processing cli [<options>]

Error : got unexpected extra arguments (123 abc)

Hello @blotto888 ,

What is the link to the wiki you are using?

Related topic:

GitHub:

:)

Thanks for the links. So it seems processing-java will be removed for 4.4.5? Not sure then if the 4.4.4 version is WAI. Still curious to understand argument usage and how to properly pass it through. Via the Wiki - I seem to be using it as documented.

I did find this usage based on the PRs and tried that…

/Applications/Processing.app/Contents/MacOS/Processing cli --sketch=../../overlays/signal/mobile --run -- 123 abc

But this gives the same error - “got unexpected extra arguments…”

Window 10 and Processing 4.4.4 here.

I can’t find a wiki here:
Home · processing/processing4 Wiki · GitHub

Just this for the processing-java in older versions:
Command Line · processing/processing Wiki · GitHub

I was able to launch a sketch:
D:\Program_Portable\Processing-4.4.4>Processing.exe cli --sketch="D:\Users\GLV\Documents\P4\Game_1_0_0" --run

This did not return anything:
D:\Program_Portable\Processing-4.4.4>Processing.exe cli --help

I can’t comment any further on this.

:)

Hi @blotto888

processing-java will stay it has been renamed to processing cli on some platforms, on macOS it will stay processing-java for a little while longer.

We fixed an issue with the CLI arguments in 4.4.5 so could you try that version to see if it fixes your issue?