Bug 9902 – The @cmdfile option is not available using PowerShell

Status
RESOLVED
Resolution
INVALID
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2013-04-07T19:31:51Z
Last change time
2021-01-21T04:10:33Z
Assigned to
No Owner
Creator
Jesse Phillips

Comments

Comment #0 by Jesse.K.Phillips+D — 2013-04-07T19:31:51Z
Comment #1 by Jesse.K.Phillips+D — 2013-04-07T19:33:45Z
Powershell uses the @ for "splatting" thus it can no longer be used for argument lists. Error below "The splatting operator '@' cannot be used to reference variables in an expression. '@xmlp' can be used only as an argument to a command. To reference" Not sure what to do about it, but thought this would be best place for it.
Comment #2 by safety0ff.bugz — 2013-04-07T19:58:16Z
Comment #3 by Jesse.K.Phillips+D — 2021-01-21T04:10:33Z
The workaround is probably accurate. I no longer use this approach to know if it would work in my use case.