http://d.puremagic.com/issues/show_bug.cgi?id=6926
Summary: std.process.system return wrong exit code
Product: D
Version: D2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Mihail Zenkov <[email protected]> 2011-11-09 20:20:36
PST ---
std.process.system should return non-zero exit code when it stopped by ctrl+c.
Simple test:
import std.stdio;
import std.process;
void main() {
int ret = system("sleep 10");
writeln("RET ", ret);
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------