Support Win32 commands having nonstandard command line parsing rules #148
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes a regression affecting Win32 batch files. The regression
originated in my #143. This implements the #143 (comment) design.
The introduction of IPC::Run::Win32Process makes Win32::Process::Create()
errors easier to reach, so I've included a commit to fix their reporting:
before:
Bad file descriptor: Win32::Process::Create() at C:\...
after:
The system cannot find the file specified.: Win32::Process::Create() at C:\...
While this implementation handles Cygwin well for the tests in #143 (comment),
I found other cases that don't work. See the new comments in run.t. The
Cygwin situation is no worse than it was in the last IPC::Run release, and I
see no low-hanging fruit for improving it. I'm content with that.