Go to the documentation of this file.
38 #ifndef BLOCXX_WINEXEC_HPP_INCLUDE_GUARD_
39 #define BLOCXX_WINEXEC_HPP_INCLUDE_GUARD_
41 #include "blocxx/BLOCXX_config.h"
51 class WinStandardPreExec :
public Exec::PreExec
57 virtual bool keepStd(
int d)
const;
69 class WinSystemPreExec :
public Exec::PreExec
75 virtual bool keepStd(
int d)
const {
return true; }
80 ProcessRef spawnImpl(
char const * exec_path,
char const *
const argv[],
char const *
const envp[],
virtual void call(pipe_pointer_t const pparr[])
This function is called between fork and exec in the spawn() function.
virtual bool keepStd(int d) const
void setStartUpInfo(pipe_pointer_t const pparr[])
PreExec(bool precompute_max_descriptors=false)
virtual bool keepStd(int d) const
This class is used to specify what spawn() should do between fork and exec.
virtual void call(pipe_pointer_t const pparr[])
This function is called between fork and exec in the spawn() function.
STARTUPINFO getStartUpInfo()
::BLOCXX_NAMESPACE::UnnamedPipe * pipe_pointer_t
ProcessRef spawnImpl(char const *exec_path, char const *const argv[], char const *const envp[], Exec::PreExec &pre_exec)