Closed denisgolius closed 5 years ago
Hello,
I guess you're trying to do cicada -c 'echo $HOSTNAME'
instead.
By cicada echo $HOSTNAME
, you are actually running the echo file as a script, passing a param $HOMENAME
.
If you replace cicada
with bash
, you would get an error msg: /bin/echo: cannot execute binary file
, which is better one. I will try align cicada with bash in such case. Thanks for report!
Hello,
I guess you're trying to do
cicada -c 'echo $HOSTNAME'
instead.By
cicada echo $HOSTNAME
, you are actually running the echo file as a script, passing a param$HOMENAME
.If you replace
cicada
withbash
, you would get an error msg:/bin/echo: cannot execute binary file
, which is better one. I will try align cicada with bash in such case. Thanks for report!
Thank you!
Updated the error message on master:
$ cicada echo hi
cicada: /bin/echo: not a valid script file
cicada echo $HOSTNAME cicada: read_to_string error: Custom { kind: InvalidData, error: StringError("stream did not contain valid UTF-8") }