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

Support reading --privkey-path from process substitution #573

Open
doitian opened this issue Dec 28, 2023 · 1 comment · May be fixed by #574
Open

Support reading --privkey-path from process substitution #573

doitian opened this issue Dec 28, 2023 · 1 comment · May be fixed by #574
Assignees
Labels
good first issue Good for newcomers stale

Comments

@doitian
Copy link
Member

doitian commented Dec 28, 2023

Expect this command to read privkey from the child process output.

ckb-cli account import --privkey-path <(echo 0x...)

But got this error:

error: Invalid value for '--privkey-path <privkey-path>': path </dev/fd/11> is not file

Related reference about process substitution: https://www.gnu.org/software/bash/manual/html_node/Process-Substitution.html

@doitian doitian added the good first issue Good for newcomers label Dec 28, 2023
@eval-exec eval-exec self-assigned this Jan 4, 2024
@eval-exec eval-exec linked a pull request Jan 4, 2024 that will close this issue
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants