Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find alternative solution for bash, pipe and grep #42

Open
pierrelalanne opened this issue Feb 1, 2022 · 1 comment
Open

Find alternative solution for bash, pipe and grep #42

pierrelalanne opened this issue Feb 1, 2022 · 1 comment

Comments

@pierrelalanne
Copy link
Collaborator

In this issue, we would like to see if we can somehow easily get rid of the bash -c, pipe and grep commands in the code.
Instead we would like to use go to pipe the commands, and go as well to grep relevant results.

This is in order to simplify the install for Windows user, and make it available for people that don't have a bash emulator available.

As the logic behind a bash pipe is pretty complex (especially when it comes to error management), a possible outcome is an unsuccessful attempt, we are okay with this as long as we can explain our choice.

@MichaelPereira
Copy link

Not a complete replacement for everything, but the use of the script package could provide a nicer integration of shell and script commands into the go code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants