[wx-dev] Re: execve like wxExecute?

Armel Asselin asselin.armel at wanadoo.fr
Thu Nov 23 05:46:42 PST 2006


> > then I think adding a "const wxArrayString *env = NULL" parameter to 
> > (some)
> > wxExecute overloads would be a Good Thing.
> > I'd not use wxChar* or wxChar** pointers as IMO we should abstract from 
> > the
> > OS-specific way of representing the environment.
>
> Then an even better choice might be something like a "const
> wxStringStringHashMap *env = NULL" parameter. This would remove
> the need for a specific format for the environment settings
> (even if it would just be "x=y").
it's maybe over-the-top, all the OSes seem OK with the VARIABLE=VALUE 
approach.

Armel





More information about the wx-dev mailing list