Incomplete environ when running MinGW apps?
Thu Feb 7 18:14:00 GMT 2008
On 07 February 2008 17:51, Paul Leder wrote:
> Hmm. I think you're right; I need to give up looking for a robust way to
> do this. I think I'll:
> (system(uname) looks sane) &&
> (system(cygpath -m /bin/sh) returns success))
> use CreateProcess with /bin/sh path returned by cygpath;
> use CreateProcess with cmd.exe /c
> And I'll need to test it when run from a DOS box, with Cygwin's bin in
> the path.
Out of curiosity, what's the problem with just using system("...") always?
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin