If I create a Build System of C like:
{
“shell_cmd”: “gcc “${file}” -o “${file_path}/${file_base_name}” -Wformat=2”,
“file_regex”: “^(…[^:]):([0-9]+):?([0-9]+)?:? (.)$”,
“working_dir”: “${file_path}”,
“selector”: “source.c”,
“variants”:
[
{
“name”: “Run”,
“shell_cmd”: “gcc “${file}” -o “${file_path}/${file_base_name}” -Wformat=2 && “${file_path}/${file_base_name}””
}
]
}
I have to run the “gcc” command with a batch file, which in turn executes the output after creation.So I wander can I just execute a program/file like I did in bash:"./testprogram".Thanks a lot.