[Issue 13446] New: Can't use executeShell/escapeShellFileName to redirect to file whose name starts with &
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 9 07:16:01 PDT 2014
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 at puremagic.com
Reporter: thecybershadow at gmail.com
///////////////// test.d ////////////////
import std.process;
void main()
{
executeShell(
escapeShellCommand("echo foo") ~
">" ~
escapeShellFileName("&out.txt"));
}
/////////////////////////////////////////
--
More information about the Digitalmars-d-bugs
mailing list