glib/glibbackend/src/getProgPath.cpp
changeset 18 47c74d1534e1
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
--- a/glib/glibbackend/src/getProgPath.cpp	Tue Feb 02 02:01:42 2010 +0200
+++ b/glib/glibbackend/src/getProgPath.cpp	Fri Apr 16 16:46:38 2010 +0300
@@ -55,6 +55,7 @@
 		// If successful, convert from TDesC to narrow chars and 
 		// return.
 		TFileName fileName = iProcess.FileName();
+		iProcess.Kill(0);
 		iProcess.Close();
 		
 		pathLength = fileName.Length();