8000 Allow `bash` to not be at `/bin/bash` · Issue #26 · github/gh-codeql · GitHub
[go: up one dir, main page]

Skip to content
Allow bash to not be at /bin/bash  #26
Closed
@AlexanderBrevig

Description

@AlexanderBrevig

On NixOS (and indeed on my Arch) I do not have a /bin/bash. Also, on Mac, the default bash is very old.

We should let the user provide their own bash through the env.

First, a strange error message (gh masks it):

❯ gh codeql
failed to run extension: fork/exec /home/demouser/.local/share/gh/extensions/gh-codeql/gh-codeql: no such file or directory

Then, it made more sense after directly executing the plugin.

~/.local/share/gh/extensions/gh-codeql/gh-codeql
exec: Failed to execute process './.local/share/gh/extensions/gh-codeql/gh-codeql': The file specified the interpreter '/bin/bash', which is not an executable command.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0