Sublime Forum

Problem with building D Code under Linux

#1

Hi there,
ive got a problem with building and running D Code. Ive got the following build Script:
{
“cmd”: “dmd”, “$file”],
“file_regex”: “^(…^:]):([0-9]+):?([0-9]+)?:? (.)$”,
“working_dir”: “${file_path}”,
“selector”: “source.d”,

"variants":

	{
		"name": "Run",
		"cmd": "bash", "${file_path}/${file_base_name}"]
	}
]

}

If I build a file in Sublime and run it afterwards I got this Error - Message: [Finished in 0.0s with exit code 126], but if i build the same file in the console and start it out of the console it runs perfectly. If I build it with the console and start sublime as root, running the program works, too. But if I build it in sublime again and try running it out of sublime, I get this Error Message again. I think its a problem with the permission of sublime, but I don’t know what to do. Please help me :frowning:

0 Likes