Something to the effect of `docker run [options] <image> ./script.sh |
bbedit --new-window --clean` should work.
Or if the container is already running, `docker exec <container>
./script.sh | bbedit --new-window --clean`.
(You may need to `cd` to where the script is, or give the full path to
the script. If the script is interactive, you may need `-it`.)
On 27 Feb 2022, at 15:12, Marshall Clow wrote:
So, I’m playing with Docker on my Mac.
I have some scripts that run in a container and generate text, and
I’d like the text to end up in a bbedit window.
Before I dive in and figure out the best way to do this, I thought
that I’d ask if anyone has done this before.
If I wasn’t in a docker container, I’d just do:
$ ./script.sh | bbedit —new-window —clean
— Marshall
--
This is the BBEdit Talk public discussion group. If you have a feature
request or need technical support, please email
"[email protected]" rather than posting here. Follow @bbedit on
Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/7EBF786C-8778-490F-83DF-0CA0AF188716%40gmail.com.
--
This is the BBEdit Talk public discussion group. If you have a feature request or need
technical support, please email "[email protected]" rather than posting here.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/C947330D-3445-4EB5-9DFA-227CC63F7931%40munkynet.org.