Sublime Forum

No Execution Output from DMD

#1

Hello,

I am using the D language, and my dmd command works fine from the command line. I am using the following build script:

{
“cmd”: “dmd”, “$file”],
“file_regex”: “^(.*?)\(([0-9]+)\)”,
“selector”: “source.d”
}

For some reason, no output is captured in the output window in ST2. It just runs and reports the finish time. It prints fine to the console when run from the command line. Would you happen to know how to fix this?

Thanks.

Chuck Allison

0 Likes

#2

Let me update this. I realize that I must use rdmd to get execution output in ST2. So I changed “dmd” to “rdmd” in the sublime-build script, and now I get this error:

Errno 13] Permission denied
[cmd: [u’rdmd’, u’/Users/chuck/UVU/4450/arrayassign.d’]]
[dir: /Users/chuck/UVU/4450]
[path: /usr/bin:/bin:/usr/sbin:/sbin]

However, I can run rdmd from the command line, no problem. rdmd is in /usr/bin, by the way. I assumed if I could run it from the command one that I could run it inside ST2. Would you know how to fix this? Thanks.

0 Likes

#3

Never mind. File permission problem. Sorry to bother you.

0 Likes

#4

I would close this issue myself if I knew how!

0 Likes