newstring
str = newstring(len);
char *p, *newstring;
if (asprintf(&newstring, "%s=%s", var, value) == -1)
script_env[i] = newstring;