www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17860] New: some code exaples from site doesn't build on

https://issues.dlang.org/show_bug.cgi?id=17860

          Issue ID: 17860
           Summary: some code exaples from site doesn't build on Visual
                    Studio 2010 (and probably at all)
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dlang.org
          Assignee: nobody puremagic.com
          Reporter: maxim.k.elasnce gmail.com

Created attachment 1660
  --> https://issues.dlang.org/attachment.cgi?id=1660&action=edit
Output of this trash

I've tried 
some exaples like this
void main()
{
    import std.exception, std.stdio, std.process;

    auto result = ["whoami"].execute;
    enforce(result.status == 0);
    result.output.write;
}
And they doesn't work.

--
Sep 26 2017