Advanced

Demonstrating multi-processing in Bash 4

Posted by gus3 on
I Am, Therefore I Think; By gus3
Mail this story
Print this story

Bash has had multi-processing for a long time, via job control, the $! environment variable, and the "wait" command. Judicious use of parentheses for sub-processes, and pipes where necessary, can put comparatively long-term procedures into the background. Bash 4 now provides a new multi-processing paradigm for shell scripting, via the "coproc" statement.

Full Story

  Nav
» Read more about: Story Type: Tutorial

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

This topic does not have any threads posted yet!

You cannot post until you login.