I'm trying to make my perl prog portable across other perl installations. Looks like strawberry MinGW perl is doing a conversion that is messing things up.
When I run a system command, it appears to be converting the window's switches to absolute paths. I.e.
system('cmd /c "echo hello"');
gets executed as:
c:\Windows\system32\cmd.exe c:/ "echo hello"
That was taken from Process Explorer.
How do I stop this behaviour?