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

Redirect child process's stderr. More...

Inheritance diagram for winapi::process::Stderr:
winapi::process::Stream

Public Member Functions

 Stderr ()
 
 Stderr (const std::string &file)
 
 Stderr (const CanonicalPath &file)
 
 Stderr (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 stderr.

Definition at line 49 of file process_io.hpp.

Constructor & Destructor Documentation

◆ Stderr() [1/4]

winapi::process::Stderr::Stderr ( )

No redirection.

Definition at line 21 of file process_io.cpp.

◆ Stderr() [2/4]

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

Redirect child process's stderr to a file.

Definition at line 31 of file process_io.cpp.

◆ Stderr() [3/4]

winapi::process::Stderr::Stderr ( 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 33 of file process_io.cpp.

◆ Stderr() [4/4]

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

Redirect child process's stderr to a pipe.

Definition at line 43 of file process_io.cpp.


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