September 09, 2014 [Issue 13446] New: Can't use executeShell/escapeShellFileName to redirect to file whose name starts with & | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: thecybershadow@gmail.com ///////////////// test.d //////////////// import std.process; void main() { executeShell( escapeShellCommand("echo foo") ~ ">" ~ escapeShellFileName("&out.txt")); } ///////////////////////////////////////// -- |
Copyright © 1999-2021 by the D Language Foundation