mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
get PID from Environment.ProcessId
This commit is contained in:
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
try
|
||||
{
|
||||
string pidstring = System.Diagnostics.Process.GetCurrentProcess().Id.ToString();
|
||||
string pidstring = Environment.ProcessId.ToString();
|
||||
|
||||
using (FileStream fs = File.Create(path))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user