泳裤王子不在
This is tclh123's second blog which is host by the lovely GAE. BTW, fuck the GFW.
rss
email
twitter
facebook
  • Home
  • <li class="page_item"><a href="/About" target="">About</a></li>

sublime text 2 for osx,build system,open terminal window

0 Comments
Posted on 十月 1 2012
<p>MyCpp.sublime-build</p> <pre class="brush: jscript;fontsize: 100; first-line: 1; ">{ "cmd": ["bash", "-c", "g++ '${file}' -o '${file_path}/${file_base_name}' &amp;&amp; open '${file_path}/${file_base_name}'"], "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir": "${file_path}", "selector": "source.c, source.c++", "variants": [ { "name": "Run", "cmd": ["bash", "-c", "g++ '${file}' -o '${file_path}/${file_base_name}' &amp;&amp; '${file_path}/${file_base_name}'&lt;'${file_path}/${file_base_name}.in'&gt;'${file_path}/${file_base_name}.out'"] } ] } </pre> <p>第二个Run方法是利用管道重定向输入输出了。</p> <h3>Reference</h3> <ul> <li>http://stackoverflow.com/questions/11601423/how-to-run-programs-in-an-external-console-with-sublime-text</li> <li>http://www.google.com.hk/search?q=open+terminal&amp;client=pub-1895553756377946&amp;channel=9593578544&amp;forid=1&amp;prog=aff&amp;hl=zh-CN</li> <li>http://www.wikihow.com/Open-Applications-Using-Terminal-on-Mac</li> </ul> --End--

Tags:  
Categories:

Leave a Reply

+=



About Me

    Harry Lee
    Student in Software Engineering
    [email protected], Zhejiang
    [email protected]Xidian University
    more...

Feeds

  • Entries (RSS)
  • Comments (RSS)
  • 订阅到 Google Reader
  • 订阅到 抓虾
  • 订阅到 鲜果
  • 订阅到 QQ

Popular Posts

  • Macbook pro 装 Ubuntu12.4 的BCM4331无线网卡驱动(9479)
  • rvm使用淘宝ruby镜像(6944)
  • [转载] Wordpress Rewrite / Permalink内部过程分析(6664)
  • XQuartz-2.7.3.dmg下载地址,x11 for mac...(6598)
  • wordpress multisite using subdomain/ iis + url rewrite module 2.0 / web.config(6513)
  • google app engine sdk directory on macos/osx(6291)
  • sublime text 2 for osx,build system,open terminal window(6076)
  • sublime text 2 for osx / python build system(5890)

Recent Posts

  • Use Octpress
  • rvm使用淘宝ruby镜像
  • [笔记整理]Regular Expression / 正则表达式
  • sublime text 2 for osx / python build system
  • wordpress multisite using subdomain/ iis + url rewrite module 2.0 / web.config
  • google app engine sdk directory on macos/osx
  • Macbook pro 装 Ubuntu12.4 的BCM4331无线网卡驱动
  • XQuartz-2.7.3.dmg下载地址,x11 for mac...

Recent Comments

Categories

Archives

Blog roll


  • Home
  • <li class="page_item"><a href="/About" target="">About</a></li>
  • Login
Powered by Google App Engine  |   Designed by WebTreats  |   由 xuming 提供 Micolog程序