winapi_common
Public Member Functions | List of all members
winapi::process::Stdout Struct Reference

Redirect child process's stdout. More...

Inheritance diagram for winapi::process::Stdout:
winapi::process::Stream

Public Member Functions

 Stdout ()
 
 Stdout (const std::string &file)
 
 Stdout (const CanonicalPath &file)
 
 Stdout (Pipe &)
 
- Public Member Functions inherited from winapi::process::Stream
 Stream (Handle &&handle)
 

Additional Inherited Members

- Public Attributes inherited from winapi::process::Stream
Handle handle
 

Detailed Description

Redirect child process's stdout.

Definition at line 37 of file process_io.hpp.

Constructor & Destructor Documentation

◆ Stdout() [1/4]

winapi::process::Stdout::Stdout ( )

No redirection.

Definition at line 19 of file process_io.cpp.

◆ Stdout() [2/4]

winapi::process::Stdout::Stdout ( const std::string &  file)
explicit

Redirect child process's stdout to a file.

Definition at line 27 of file process_io.cpp.

◆ Stdout() [3/4]

winapi::process::Stdout::Stdout ( const CanonicalPath file)
explicit

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 29 of file process_io.cpp.

◆ Stdout() [4/4]

winapi::process::Stdout::Stdout ( Pipe pipe)
explicit

Redirect child process's stdout to a pipe.

Definition at line 39 of file process_io.cpp.


The documentation for this struct was generated from the following files: