aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Util.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index e7a7f49..addfe5d 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -92,6 +92,17 @@ namespace OpenSim.Framework
92 public static FireAndForgetMethod FireAndForgetMethod = FireAndForgetMethod.SmartThreadPool; 92 public static FireAndForgetMethod FireAndForgetMethod = FireAndForgetMethod.SmartThreadPool;
93 93
94 /// <summary> 94 /// <summary>
95 /// Gets the name of the directory where the current running executable
96 /// is located
97 /// </summary>
98 /// <returns>Filesystem path to the directory containing the current
99 /// executable</returns>
100 public static string ExecutingDirectory()
101 {
102 return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
103 }
104
105 /// <summary>
95 /// Linear interpolates B<->C using percent A 106 /// Linear interpolates B<->C using percent A
96 /// </summary> 107 /// </summary>
97 /// <param name="a"></param> 108 /// <param name="a"></param>