Gimp-Forum.net
Working command line arguments fail in shell script - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+---- Forum: Scripting questions (https://www.gimp-forum.net/Forum-Scripting-questions)
+---- Thread: Working command line arguments fail in shell script (/Thread-Working-command-line-arguments-fail-in-shell-script)

Pages: 1 2


RE: Working command line arguments fail in shell script - TimorousMe - 03-26-2021

(03-25-2021, 09:25 AM)Ofnuts Wrote:
(03-24-2021, 04:44 PM)TimorousMe Wrote:
(03-23-2021, 03:19 PM)TimorousMe Wrote: To clarify though, I don't rely on the alias when using my shell script, because the shell script does not run the alias. Instead I directly run the executable that the alias points to. I only use the alias at the command line (outside of the shell script).

This article seems to outline a potential solution, but I don't understand what they mean by editing the file "/Applications/GIMP-2.10.app/Contents/MacOS/gimp". If I try to do that I get a bunch of jumbled text as if I'm trying to edit object code or something. Any idea what they are referring to?

https://gitlab.gnome.org/GNOME/gimp/-/issues/3303

Interesting... From what I infer from that report, on OSX the gimp command appears to be a script that starts a gimp-bin binary. But you seem to have a different setup. Are you using the "official" OSX build or a 3rd party one (in which case asking that 3rd party would be the best course of action)?

I used the official Gimp install from the Gimp website (https://www.gimp.org/downloads/).