hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Invoking the Hyper executable from another application with arguments / a command to invoke (Windows)

Open ELLIOTTCABLE opened this issue 6 years ago • 1 comments

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 10
  • Hyper.app version: 2.0.0
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

I'd like to launch a new Hyper instance, with a particular command running inside it, as opposed to the default shell. In particular, I'd like to use NeoVim-inside-Hyper as an external editor for another application.

Both of these provided basically no information about the arguments with which Hyper itself may be launched:

  • C:\Users\ec\AppData\Local\hyper\Hyper.exe --help
  • C:\Users\ec\AppData\Local\hyper\app-2.0.0\resources\bin\hyper.cmd --help

I was expecting something like this:

C:\Users\ec\AppData\Local\hyper\app-2.0.0\resources\bin\hyper.cmd -c "nvim %FILENAME%"

ELLIOTTCABLE avatar Jul 29 '18 21:07 ELLIOTTCABLE

@vercel It could be very useful if it can be implemented, mostly on Linux Environment. There are so many third-party applications where could be useful if they can run hyper commands (e.g. hyper -e "bash -c 'whoami'"). So, after 4 years, feature to execute commands by CLI with hyper still no implemented...?

D3vil0p3r avatar Jun 18 '22 13:06 D3vil0p3r

Upvoting the need for this feature. It is generally available in other terminals.

Ortega-Dan avatar May 05 '23 19:05 Ortega-Dan