On 02/05/2018 2:56 AM, Vino wrote:
Hi All,
Request your help, trying to execute the below program in SUSE Linux
but there is no output
Code
#!/usr/bin/env rdmd
import std.stdio;
void main() {
writeln("Test");
}
DMD Version : DMD64 D Compiler v2.079.1
Package installed : dmd-2.079.1-0.openSUSE.x86_64.rpm
Execution 1 : rdmd <program name> without this #!/usr/bin/env rdmd
Execution 2: ./<program name> with #!/usr/bin/env rdmd + chmod 777
<program name>
Both ways there is on output
From,
Vino.B
Does this work?
$ dmd -run foo.d