I would like to compile and run C program in sublime text 3 on ubuntu 14.04. Currently the program is being compiled with gcc using sublime text 3 executing a command (see b
try to write a shell script named run.sh in your project foler
#!/bin/bash ./YOUR_EXECUTIVE_FILE ...AND OTHER THING
and make a Build System to compile and execute it:
Build System
{ "shell_cmd": "make all && ./run.sh" }
don't forget $chmod +x run.sh
$chmod +x run.sh
do one thing and do it well:)