summaryrefslogtreecommitdiff
path: root/ACE/ace/Process.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2010-09-07 17:09:23 +0000
committerSteve Huston <shuston@riverace.com>2010-09-07 17:09:23 +0000
commit9b2c9f6679ce058171fb114ea11395a3c8e46074 (patch)
tree7330bbda0af5f25f43d87c69a3efab9d7b14d020 /ACE/ace/Process.h
parent54a2fab79c12e7b06f688d900495e11f45831701 (diff)
downloadATCD-9b2c9f6679ce058171fb114ea11395a3c8e46074.tar.gz
ChangeLogTag:Tue Sep 7 17:07:58 UTC 2010 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ACE/ace/Process.h')
-rw-r--r--ACE/ace/Process.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/ace/Process.h b/ACE/ace/Process.h
index fc9fd6f1c1c..fe01a050526 100644
--- a/ACE/ace/Process.h
+++ b/ACE/ace/Process.h
@@ -232,6 +232,13 @@ public:
pid_t setgroup (pid_t pgrp);
/// Allows disabling of handle inheritance, default is TRUE.
+ ///
+ /// @remarks @b Windows: the handle_inheritance value is passed as the
+ /// bInheritHandles value to the CreateProcess() system function. Therefore,
+ /// if you redirect standard input, output, or error via
+ /// ACE_Process_Options::set_handles() you must not call
+ /// handle_inheritance(false). Doing so will prevent the duplicated handles
+ /// from surviving in the created process.
int handle_inheritance (void);
void handle_inheritance (int);