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

kapow server powfile.pow should exec powfile.pow if possible #62

Closed
panchoh opened this issue Oct 23, 2019 · 1 comment
Closed

kapow server powfile.pow should exec powfile.pow if possible #62

panchoh opened this issue Oct 23, 2019 · 1 comment
Labels
discussion things to discuss about enhancement New feature or request
Milestone

Comments

@panchoh
Copy link
Contributor

panchoh commented Oct 23, 2019

As a Kapow! user, I would like to control the scripting I use to configure the kapow server.

Right now, the powfile.pow is always treated as a bash script.

But, if I wanted to use a different method to call kapow route..., say from a dash script, Perl script, Python script, or bash script but selected via #!/usr/bin/env mechanism, I couldn't do it cleanly as it is now.

I propose to implement a teeny tiny bit of logic to examine the executable bit of the powfile.pow, and try to exec it instead of passing it to bash.

kapowCMD := exec.Command("bash", powfile)

@panchoh panchoh added enhancement New feature or request discussion things to discuss about labels Oct 23, 2019
@panchoh panchoh added this to the 1.1.0 milestone Oct 23, 2019
panchoh added a commit that referenced this issue Jun 11, 2020
For now, Kapow! treats .pow files as shell scripts, not executables.
See #62
@hhurtado
Copy link
Contributor

Closed, contiue in #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion things to discuss about enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants