[kwlug-disc] bash subprocesses & traps
John Steel
john at jskw.dev
Thu Aug 8 21:54:16 EDT 2024
This example was really helpful!! I was able to expand on it a bit to get my sha256sum running as a subshell, coproc and as a job.
https://gitlab.com/-/snippets/3736069
> On Aug 6, 2024, at 8:28 PM, Chris Frey <cdfrey at foursquare.net> wrote:
>
> On Tue, Aug 06, 2024 at 02:37:08PM -0400, John Steel wrote:
>> Oh! That's very interesting. I haven't heard about coproc before. I'll
>> see if it helps with this.
>
> While looking up more info on this, I came across this great summary:
>
> https://unix.stackexchange.com/questions/86270/how-do-you-use-the-command-coproc-in-various-shells
>
> - Chris
>
>
> _______________________________________________
> kwlug-disc mailing list
> To unsubscribe, send an email to kwlug-disc-leave at kwlug.org
> with the subject "unsubscribe", or email
> kwlug-disc-owner at kwlug.org to contact a human being.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20240808/b78b27dc/attachment.htm>
More information about the kwlug-disc
mailing list