Probably the easiest way is to create a temporary shell script, e.g.
$ echo "~/my_executable arg1 arg2" > /tmp/tmp.sh ; chmod +x /tmp/tmp.sh ; open -a Terminal /tmp/tmp.sh ; rm /tmp/tmp.sh
Related Contents:
- How to restore .bash_profile on a mac? None of my unix terminal are working [closed]
- Setting environment variables on OS X
- Running a command in a new Mac OS X Terminal window
- Setting PATH environment variable in OSX permanently
- Why does cURL return error “(23) Failed writing body”?
- How to use GNU sed on Mac OS 10.10+, ‘brew install –default-names’ no longer supported
- How do I create a Bash alias?
- Date command does not follow Linux specifications (Mac OS X Lion)
- Variables overwriting text problem with “echo” in Bash
- Bash script absolute path with OS X
- Parse ifconfig to get only my IP address using Bash
- Why isn’t DYLD_LIBRARY_PATH being propagated here?
- How to set keyboard shortcuts to jump to beginning/end of line? [closed]
- Installing Homebrew on macOS
- Mac OS: /usr/bin/env: bad interpreter: Operation not permitted
- How to install latest version of openssl Mac OS X El Capitan
- WebDriverException: ‘geckodriver’ executable needs to be in PATH even though it is
- Who is listening on a given TCP port on Mac OS X?
- RE error: illegal byte sequence on Mac OS X
- How to convert an NSData into an NSString Hex string?
- psql: FATAL: role “postgres” does not exist
- How can I get the behavior of GNU’s readlink -f on a Mac? [closed]
- Where can I find a list of Mac virtual key codes?
- Swift – Capture keydown from NSViewController
- How do I edit $PATH (.bash_profile) on OS X?
- How to build a dmg Mac OS X file (on a non-Mac platform)?
- `pg_tblspc` missing after installation of latest version of OS X (Yosemite or El Capitan)
- How to hide the Dock icon
- psql: could not connect to server: No such file or directory (Mac OS X)
- “User interaction is not allowed” trying to sign an OSX app using codesign
- Correct owner/group/permissions for Apache 2 site files/folders under Mac OS X?
- Running Code in Sublime text 2 ( Mac OS X )
- Error: The ‘brew link’ step did not complete successfully
- Where does MAMP keep its php.ini?
- Why does the Mac ABI require 16-byte stack alignment for x86-32?
- OS X / Linux: pipe into two processes?
- editing PATH variable on mac [closed]
- How to run a shell script on a Unix console or Mac terminal?
- MAMP Pro 3.05 on Mavericks updated to Yosemite – Apache does not start
- How to trace system calls of a program in Mac OS X?
- Timeout command on Mac OS X?
- Building OSX App Bundle
- How to simulate a retina display (HiDPI mode) in Mac OS X 10.8 Mountain Lion on a non-retina display?
- How do I remove the “extended attributes” on a file in Mac OS X?
- Mac SQLite editor [closed]
- Mac OSX Lion DNS lookup order [closed]
- How can I open the Atom editor from the command line in OS X?
- Where to find extensions installed folder for Google Chrome on Mac?
- How to detect if OS X is in dark mode?
- gdb 8.2 can’t recognized executable file on macOS Mojave 10.14