title: can't create zombie process in linux
body: <p>Well I have weird problem.
  I can't create a zombie process in my project, but I can do this in other file.
  There's simple instructions:</p>
  
  <pre><code>int main()
  {
      if(fork()==0)
          printf("Some instructions\n");
      else
      {
          sleep(10);
          wait(0);
      }
      return 0;
  }
  </code></pre>
  
  <p>That simple code create a zombie process for 10 seconds. I'm checking and it actually exists.</p>
  
  <p>But if I copy this code to my program (my own shell), everything executing like before BUT zombie process doesn't exist at all. I don't know what's the difference. It's same code.</p>
  
  <p>Is there a more information I should know about that?
  Is there a other way to create zombie in simple way?</p>