[Issue 6926] New: std.process.system return wrong exit code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 9 20:21:14 PST 2011
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: nobody at puremagic.com
ReportedBy: mihail.zenkov at gmail.com
--- Comment #0 from Mihail Zenkov <mihail.zenkov at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list