How do I execute a macro via command line?

I need to open a mp3 file, run a macro on it, and close audacity, all via command line.

Is there any way to do it without python?

Thank you in advance.

You could use PowerShell, or any language that supports “named pipes”.

Thank you for the answer. Do you know of any basic code example somewhere?

Only for Python (and a couple of very old Perl scripts that may no longer work): https://github.com/audacity/audacity/tree/master/scripts/piped-work