[ros-kernel] a couple of cmd.exe fixes - commit-help?

Jens Collin jens.collin at lakhei.com
Sun Jul 11 21:33:25 CEST 2004


thanks for commiting.

Is there a special situation that you were thinking of that would be
solved with the ShellExecute() call?
Or just in case we missed anything it will work anyway? ;)

/Jens Collin

-----Original Message-----

Thanks, your patches are committed now. I made a slight change, to use a
default PATHEXT if the environment variable isn't found.

For extra credit, maybe you could try to pass the command to
ShellExecute() if after searching with the PATHEXT components the
command isn't found? SHELL32.DLL should be LoadModule()'ed and
ShellExecuteA/W() GetProcAddress()'ed to be able to use CMD.EXE even if
shell32 is not available.

Ge van Geldorp.




More information about the Ros-kernel mailing list