Conversation started Jul 8, 2014 at 2:05.
Jul 8, 2014 02:05
1
Q: Bash script and processes

teelfI have created a bash script for use with a graphical bar in Linux, however the script seems to spawn too many processes. The Script: http://hastebin.com/oqolusigim.pl ps output: http://hastebin.com/osemafixul.avrasm Why so many processes, when there's only four places where I daemonize? If th...

Does this belong to code review?
Looks like a good question for our site.
the answer to it is because he's using subshells all over the place
Almost everywhere he's got a pipe (|) is a subshell.
 
Conversation ended Jul 8, 2014 at 2:10.