When converting strings to command lines interpret env vars in all the parts of the command line not just the first item. Fixes #1535
When converting strings to command lines interpret env vars in all the parts of the command line not just the first item. Fixes #1535