https://d.puremagic.com/issues/show_bug.cgi?id=11983
--- Comment #4 from Walter Bright <[email protected]> 2014-01-31 01:20:09 PST --- I did find something interesting (running on Ubuntu): --------------------- rdmd> ./rdmd foo.d rdmd> rdmd> echo $? 245 rdmd> dmd foo.d rdmd> ./foo hello Segmentation fault rdmd> echo $? 139 --------------------- There's the 139 and 245 you were talking about. Looking at the source to rdmd: private int run(string[] args, string output = null) { import std.conv; yap(args.text); if (dryRun) return 0; File outputFile; if (output) outputFile = File(output, "wb"); else outputFile = stdout; auto process = spawnProcess(args, stdin, outputFile); return process.wait(); } so it must have something to do with spawnProcess() and wait(). -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
