ckb-cli icon indicating copy to clipboard operation
ckb-cli copied to clipboard

Support reading --privkey-path from process substitution

Open doitian opened this issue 2 years ago • 1 comments

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 avatar Dec 28 '23 09:12 doitian

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[bot] avatar Jul 27 '24 01:07 github-actions[bot]