You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Question: what is the "right" way to consume cue values inside a shell script #48
Option 1 will "work" - option 2 will fail (obviously?).
Is it fair to assume that direct references to cue values from inside a script will break and should absolutely be avoided (option 2), and that only option 1 is the right way to go? Or is there a better way to do this?
Activity
dubo-dubon-duponey commentedon Jan 19, 2021
Adding that evidently, you could also do
This is "better", as:
... but the syntax is really heavy handed for newcomers.
Maybe, generally, Exec could be improved this way:
a. "magic" stdout and "stderr" so that you do not have to monkey it out yourself.
... would then work fine giving you stdout & stderr.
b. have a different argument for scripts (alternatively, some magic to detect whether the first argument is a script or a binary
The rest is a documentation problem (discouraging people from using
\(cuearg)inside script strings.2 cents.
shykes commentedon Apr 29, 2021
Closing this in favor of github discussions.
feat: extract client (#48)