summaryrefslogtreecommitdiff
path: root/ACE/ace/Process.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Process.h')
-rw-r--r--ACE/ace/Process.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/ACE/ace/Process.h b/ACE/ace/Process.h
index 7e00b3dc975..70aa7c2f0d3 100644
--- a/ACE/ace/Process.h
+++ b/ACE/ace/Process.h
@@ -35,11 +35,6 @@ class ACE_Time_Value;
*
* This class controls the options passed to <CreateProcess> (or <fork>
* and <exec>).
- * Notice that on Windows CE, creating a process merely means
- * instantiating a new process. You can't set the handles (since
- * there's no stdin, stdout and stderr,) specify process/thread
- * options, set environment,... So, basically, this class only
- * set the command line and nothing else.
* Notice that on UNIX platforms, if the <setenv> is used, the
* <spawn> is using the <execve> system call. It means that the
* <command_line> should include a full path to the program file
@@ -169,10 +164,10 @@ public:
#endif /* !ACE_USES_WCHAR */
;
-#if defined (ACE_HAS_WCHAR) && !defined (ACE_HAS_WINCE)
+#if defined (ACE_HAS_WCHAR)
/// Anti-TChar version of command_line ()
int command_line (const ACE_ANTI_TCHAR *format, ...);
-#endif /* ACE_HAS_WCHAR && !ACE_HAS_WINCE */
+#endif /* ACE_HAS_WCHAR */
#endif // ACE_LACKS_VA_FUNCTIONS
/// Same as above in argv format. @a argv must be null terminated.
@@ -365,7 +360,6 @@ public:
void inherit_environment (bool nv);
#endif /* ACE_WIN32 */
protected:
-#if !defined (ACE_HAS_WINCE)
/// Add @a assignment to environment_buf_ and adjust
/// environment_argv_. @a len is the strlen of @a assignment.
int setenv_i (ACE_TCHAR *assignment, size_t len);
@@ -373,7 +367,6 @@ protected:
/// Whether the child process inherits the current process
/// environment.
bool inherit_environment_;
-#endif /* !ACE_HAS_WINCE */
/// Default 0.
u_long creation_flags_;
@@ -381,7 +374,7 @@ protected:
/// Avoid zombies for spawned processes.
int avoid_zombies_;
-#if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)
+#if defined (ACE_WIN32)
/// Helper function to grab win32 environment and stick it in
/// environment_buf_ using this->setenv_i.
void inherit_environment ();
@@ -424,7 +417,6 @@ protected:
/// Default true.
bool handle_inheritance_;
-#if !defined (ACE_HAS_WINCE)
/// Is 1 if stdhandles was called.
int set_handles_called_;
@@ -452,7 +444,6 @@ protected:
/// The current working directory.
ACE_TCHAR working_directory_[MAXPATHLEN + 1];
-#endif /* !ACE_HAS_WINCE */
/// Ensures command_line_argv is only calculated once.
bool command_line_argv_calculated_;
@@ -667,9 +658,7 @@ protected:
ACE_Handle_Set dup_handles_;
private:
-#if defined (ACE_WIN32) && \
- defined (ACE_HAS_WCHAR) && !defined (ACE_USES_WCHAR) && \
- !defined (ACE_HAS_WINCE)
+#if defined (ACE_WIN32) && defined (ACE_HAS_WCHAR) && !defined (ACE_USES_WCHAR)
wchar_t* convert_env_buffer (const char* env) const;
#endif
};