diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-11-06 16:14:12 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-11-06 16:14:12 +0000 |
commit | 582621b3ea7bd51ac0570a96afaf22f9fecfa045 (patch) | |
tree | e2eee39962750d9317924c59a40f93839162e9e3 /ace/Process.h | |
parent | 9a8fe533443f83e7be3aee2f68e01102dc88823f (diff) | |
download | ATCD-582621b3ea7bd51ac0570a96afaf22f9fecfa045.tar.gz |
.
Diffstat (limited to 'ace/Process.h')
-rw-r--r-- | ace/Process.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ace/Process.h b/ace/Process.h index 0b0580a17df..fb64801ead5 100644 --- a/ace/Process.h +++ b/ace/Process.h @@ -36,6 +36,13 @@ class ACE_Export ACE_Process_Options // 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 + // (<execve> does not search the PATH). If <setenv> is not used + // then, the <spawn> is using the <execvp> which searches for the + // program file in the PATH variable. public: enum { @@ -271,6 +278,13 @@ class ACE_Export ACE_Process // // = DESCRIPTION // A Portable encapsulation for creating new processes. + // + // 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 + // (<execve> does not search the PATH). If <setenv> is not used + // then, the <spawn> is using the <execvp> which searches for the + // program file in the PATH variable. public: ACE_Process (void); // Default construction. Must use ACE_Process::start. |