diff options
author | Rick Pasetto <rick@lindenlab.com> | 2009-11-12 09:23:57 -0800 |
---|---|---|
committer | Rick Pasetto <rick@lindenlab.com> | 2009-11-12 09:23:57 -0800 |
commit | 3dd79ad226bc8e0aec18dba87223a3f50ecf360b (patch) | |
tree | 2af4f4e5d50d35065dda3101b60b40a3c1c21aee /indra/llcommon/llprocesslauncher.h | |
parent | 72af8dc3f0a249f69869bc6f52dd7a887702a964 (diff) | |
parent | 7a45dec2d540581ef080386e4a967befd22b6adb (diff) |
merge
Diffstat (limited to 'indra/llcommon/llprocesslauncher.h')
-rw-r--r-- | indra/llcommon/llprocesslauncher.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llcommon/llprocesslauncher.h b/indra/llcommon/llprocesslauncher.h index 880562157f..929d547f6e 100644 --- a/indra/llcommon/llprocesslauncher.h +++ b/indra/llcommon/llprocesslauncher.h @@ -70,6 +70,14 @@ public: // This needs to be called periodically on Mac/Linux to clean up zombie processes. static void reap(void); + + // Accessors for platform-specific process ID +#if LL_WINDOWS + HANDLE getProcessHandle() { return mProcessHandle; }; +#else + pid_t getProcessID() { return mProcessID; }; +#endif + private: std::string mExecutable; std::string mWorkingDir; |