Demonstrating multi-processing in Bash 4

Posted by gus3 on Jul 29, 2010 7:44 AM EDT
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

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.