capture the output of a bash command #620
Answered
by
HT154
nickkaranatsios
asked this question in
Q&A
-
Is it possible to capture the output of a bash command and store it in a pkl variable. For example str = " |
Beta Was this translation helpful? Give feedback.
Answered by
HT154
Aug 8, 2024
Replies: 1 comment 1 reply
-
It's not possible to do this as you've described, but you may be able to use a In your Pkl module: str = read("prop:timestamp") Then when evaluating:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nickkaranatsios
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not possible to do this as you've described, but you may be able to use a
prop:
resource in this specific case.In your Pkl module:
Then when evaluating: