segfaults

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon May 3 13:54:28 PDT 2010


Hello.

I'm trying to invoke a command inside d, and it returns a success code 
when the command in question segfaults.

any ideas?

// the caller
import std.process;

int main(){
     auto r = system("./test");
     return(r);
}


//test.d
import std.stdio;

void main()
{
     Object o;
     writeln(o.toString());
}


More information about the Digitalmars-d-learn mailing list