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

          Issue ID: 13446
           Summary: Can't use executeShell/escapeShellFileName to redirect
                    to file whose name starts with &
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nob...@puremagic.com
          Reporter: thecybersha...@gmail.com

///////////////// test.d ////////////////
import std.process;

void main()
{
    executeShell(
        escapeShellCommand("echo foo") ~
        ">" ~
        escapeShellFileName("&out.txt"));
}
/////////////////////////////////////////

--

Reply via email to