JohnSundell / ShellOut

Easily run shell commands from a Swift script or command line tool
MIT License
870 stars 83 forks source link

Add Compatibility with Commands like "vi" #52

Closed ghost closed 4 years ago

ghost commented 4 years ago

Please add a feature where you can run interactive commands and not get stuck on a black screen...

A lot of commands require you to put information as the command runs. Some examples are:

So please add an option to use interactive commands as well as normal ones.

try shellOut(to: "vi README.md", interactive: true)

This is similar to #35, but with a little more context.

ghost commented 4 years ago

I found my own way to do this. It requires some C++, but works for me.

ismetanin commented 3 years ago

@BenSova Hi! Can't open a link that you provided for your solution :(

ghost commented 3 years ago

@ismetanin I merged it into a different project, here.

ismetanin commented 3 years ago

@BenSova thank you!