title: 'rm'(linux) in the exec is not recognised as internal or external command.
body: <p>The child_process module of node.js is not able to recognize the linux's 'rm' command. Am using it like</p>
  
  <pre><code>var exec = require('child_process').exec;
  var child = exec('rm ' + ImgDir + '/formatted-*', function(error, stdout, stderr){});
  </code></pre>
  
  <p>But this says:</p>
  
  <p><strong>stderr : 'rm' is not recognized as internal or external command,
  operable programe or batch file.</strong> </p>
  
  <p>Can someone help on this ?</p>