Code

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