No Output with shebang.

Newbie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 20 13:17:48 PDT 2014


#!/usr/bin/gdc

import std.stdio;
void main()
{
      writeln("Hello, world with automated script running!");
}

When I compile the code above normal to an a.out binary it runs
like expected. But running it with shebang it does nothing. No
output, especially no error message. Nothing.

What do I wrong?


More information about the Digitalmars-d-learn mailing list