I think it is because MS Dos program close itself at the end of execution (in release mode).
You should put a pause or something like that at the end of your program.
In C program, you can use system("PAUSE");
I don't know if it works in D language.
EDIT:
I have just download D compiler and test it into C::B.
No problem. I can execute the program from C::B editor (run program with F9)
Here is what I have on my screen.
hello world
args.length = 1
args[0] = 'D:\TestD\bin\Release\TestD.exe'
Process returned 0 (0x0) execution time : 0.000 s
Press any key to continue.