http://www.perlmonks.org?node_id=947515


in reply to Re: System, exec different behaviour with spaces
in thread System, exec different behaviour with spaces

Thanks for the pointers - I'm somewhat clearer about where the problem comes from, even if the fix is somewhat convoluted (I need to support multiple platforms). What I still don't get is why the behaviour is OK when using system, but not exec. I'd have thought that in terms of their argument passing the two would have been equivalent.