4/27/2023 0 Comments Get command line for app in macTo cause this executable to be run with specific arguments, simply rename the existing executable to something else (I've used something like appname-bin) and replace it with a shell script that exec`s the renamed binary with whatever arguments you please (followed by chmod 755 or similar to make the script executable). It turns out there's a very easy way to do this.Īs many already know, what appear as applications on OS X are in fact directories, containing the actual executable in their Contents » MacOS subdirectory. ![]() Recently I've been wanting a way to pass command-line arguments to GUI apps by default, in my case a -geometry parameter to Emacs.app to make it start up in something approximating full-screen mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |