Skip to content

Instantly share code, notes, and snippets.

@lengocgiang
Last active March 25, 2016 09:24
Show Gist options
  • Save lengocgiang/de63f1f337e3c946e322 to your computer and use it in GitHub Desktop.
Save lengocgiang/de63f1f337e3c946e322 to your computer and use it in GitHub Desktop.
Console input with terminal
{
"cmd": ["bash", "-c", "g++ '${file}' -o '${file_path}/${file_base_name}' && open -a Terminal.app '${file_path}/${file_base_name}'"],
"selector" : "source.c",
"shell" : false,
"working_dir" : "$file_path"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment