title: Run pascal in Sublime Text in OS X
body: <p>I want to run pascal code in Sublime Text (Sublime Text 2) in OS X Mavericks.</p>
  
  <p>I find this sublime-build that work and run in windows. 
  (Created by Qwerty. <a href="https://stackoverflow.com/users/985454/qwerty">https://stackoverflow.com/users/985454/qwerty</a>)</p>
  
  <pre><code>{
     "cmd": ["fpc", "${file_path}/${file_base_name}"],
     "selector": "source.pascal",
     "variants": [
      {
          "cmd": ["start", "cmd", "/c", "$file_base_name.exe &amp; pause"],
          "name": "Run",
          "shell": true
      }
     ]
  }
  </code></pre>
  
  <p>but I don`t know how to modify it to work in OS X. </p>
  
  <p>My test is a simple Hello World:</p>
  
  <pre><code>Program HelloWorld;
  begin
     writeln("Hello, world!");
     readln;
  end.
  </code></pre>