Sublime Forum

Successful build command doesn't produce anything

#1

I’m struggling with a weird issue. I am trying to compile a C project in which I have a build system that looks something like this

{ "name":"project_build", "cmd": "make"], "working_dir": "${project_path}", "file_regex": "^(.*)\\(([0-9]*)\\)(\\s:\\s)(.*)" } ]

I know the makefile is ok since I can call make in a shell and compile. The problem seems to be that if the command is valid, then nothing is done, but if it is invalid e.g. "cmd": "makeasdfbasdfb"], then I get the following output: [Errno 2] No such file or directory: ‘makeasdfbasdfb’. This goes for any valid command: “ls”,“pwd” etc. The working_dir seems to be fine, and I have tried “cmd” : “make”, “Makefile”]

I am using Sublime text 3 Build 3083 on Ubuntu 14.04. I greatly appreciate any help.

0 Likes