Index: /trunk/include/iprt/mangling.h
===================================================================
--- /trunk/include/iprt/mangling.h	(revision 83660)
+++ /trunk/include/iprt/mangling.h	(revision 83661)
@@ -1741,4 +1741,5 @@
 # define RTProcDaemonize                                RT_MANGLER(RTProcDaemonize)
 # define RTProcDaemonizeUsingFork                       RT_MANGLER(RTProcDaemonizeUsingFork)
+# define RTProcExecutablePath                           RT_MANGLER(RTProcExecutablePath)
 # define RTProcGetAffinityMask                          RT_MANGLER(RTProcGetAffinityMask)
 # define RTProcGetExecutablePath                        RT_MANGLER(RTProcGetExecutablePath)
Index: /trunk/include/iprt/process.h
===================================================================
--- /trunk/include/iprt/process.h	(revision 83660)
+++ /trunk/include/iprt/process.h	(revision 83661)
@@ -330,4 +330,5 @@
  *
  * @returns Pointer to read-only name string.
+ * @note    IPRT must've been initialized or the string will be empty.
  */
 RTR3DECL(const char *) RTProcShortName(void);
@@ -335,4 +336,12 @@
 /**
  * Gets the path to the executable image of the current process.
+ *
+ * @returns Pointer to read-only path string.
+ * @note    IPRT must've been initialized or the string will be empty.
+ */
+RTR3DECL(const char *) RTProcExecutablePath(void);
+
+/**
+ * Gets a copy of the path to the executable image of the current process.
  *
  * @returns pszExecPath on success. NULL on buffer overflow or other errors.
@@ -340,4 +349,5 @@
  * @param   pszExecPath     Where to store the path.
  * @param   cbExecPath      The size of the buffer.
+ * @note    IPRT must've been initialized or the string will be empty.
  */
 RTR3DECL(char *) RTProcGetExecutablePath(char *pszExecPath, size_t cbExecPath);
Index: /trunk/src/VBox/Runtime/r3/process.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/process.cpp	(revision 83660)
+++ /trunk/src/VBox/Runtime/r3/process.cpp	(revision 83661)
@@ -113,4 +113,10 @@
 
 
+RTR3DECL(const char *) RTProcExecutablePath(void)
+{
+    return g_szrtProcExePath;
+}
+
+
 RTR3DECL(const char *) RTProcShortName(void)
 {
