Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Working command line arguments fail in shell script
#10
(03-24-2021, 04:44 PM)TimorousMe Wrote:
(03-23-2021, 03:19 PM)TimorousMe Wrote:
(03-23-2021, 02:36 AM)TimorousMe Wrote: alias gimp="/Applications/GIMP-2.10.app/Contents/MacOS/gimp"

I have it stored in a file called ".bash_profile" in the folder /Users/TimB

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)?
Reply


Messages In This Thread
RE: Working command line arguments fail in shell script - by Ofnuts - 03-25-2021, 09:25 AM

Forum Jump: