Use "setCurrentDirectoryPath" function instead of "cd" command.

Use "setCurrentDirectoryPath" function member of NSTask instead of
  "cd" command in execute command.