in reply to Re: opening '-|' on Windows
in thread opening '-|' on Windows

Actually, I tried that. If you look closely at the do_pipe_command function above, I run (qw(cmd /c), join ' ', @cmd). However, I don't think I ever get that far - I think it's the opening of "-|" that causes the failure much earlier in the same sub. It's when I changed it to use cmd /c explicitly that I started to think there was something more sinister going on ;-)