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.
In reply to Re^2: System, exec different behaviour with spaces
by sacambs
in thread System, exec different behaviour with spaces
by sacambs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |