Fix a bug in the passing of arguments to external programs and builtin fnctions