title: How to set process group of a shell script
body: <p>How to set process group of a shell script ? Also I want all the child process to be in the same process group</p>
  
  <p>I expect something similar to setpgid() in C.</p>