start.exe: Search PATH for the executable to launch

System Internals / WINE - Damjan Jovanovic [gmail.com] - 19 August 2019 20:17 EDT

We want to launch all executables through CreateProcess(), but need to provide the full path, as the searching CreateProcess() does internally when the application name is NULL is more limited: it only searches for .EXE files.

42fa293d48 start.exe: Search PATH for the executable to launch.
programs/start/start.c | 182 +++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 177 insertions(+), 5 deletions(-)

Upstream: source.winehq.org


  • Share