

While this is a great step in the right direction, it leaves out many Windows CLIs that do not play by these rules: On Windows: solves the problem only for those programs that adhere to the quoting and escaping conventions used by Microsoft's C/C++ runtime. On Unix-like platforms: fully solves all problems. PR #14692 introduces experimental feature PSNativeCommandArgumentPassing that will address parameter-passing woes when calling native programs with respect to embedded quoting and empty-string arguments, taking advantage of, which: The following is adapted from #14747 (comment), which contains some additional information about native argument-passing on Windows. The rest of this initial post details the motivation and the proposed implementation.Įasy-to-grasp examples of the proposed accommodations are in this comment.Ĭomplementary examples of what won't work unless we implement these accommodations are in another comment.Īs requested by in #14692 (comment), following a suggestion from in #14692 (comment):

Summary of the new feature/enhancement A Guide to this Proposal:
