Windows: Compute the fallback for exec_path from the program invocation.
commit6fad004a37432e4378b6cce53eebe8a079104e93
authorJohannes Sixt <johannes.sixt@telecom.at>
Wed, 11 Apr 2007 14:02:45 +0000 (11 16:02 +0200)
committerJohannes Sixt <johannes.sixt@telecom.at>
Thu, 26 Jun 2008 06:45:12 +0000 (26 08:45 +0200)
treecd437e6cd47a75e5596d9950c342c739fa9961d6
parent4ec22a48c0575c8a303cd00b5ef4b3d703fbf8b3
Windows: Compute the fallback for exec_path from the program invocation.

Since on Windows the user is fairly free where to install programs, we
cannot rely on a hard-coded path. We use the program name to derive the
installation directory and use that as exec_path.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
exec_cmd.c