title: Changing directory in a CakeFile task
body: <p>I tried to change the directory using a normal cd command, but it says execvp(): No such file or directory.</p>
  
  <p>These are the lines:</p>
  
  <pre><code>fs = require 'fs'
  
  util = require 'util'
  {spawn} = require 'child_process'
  
  clientTest = (callback) -&gt;
    d = spawn 'cd', ['client']
    d.stderr.on 'data', (data) -&gt;
      process.stderr.write data.toString()
    d.stdout.on 'data', (data) -&gt;
      util.log data.toString()
    d.on 'exit', (code) -&gt;
      callback?() if code is 0
  </code></pre>
  
  <p>I'm guessing I have to do something withe the filesystem?</p>