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

Redirect child process's stdin. More...

Inheritance diagram for winapi::process::Stdin:
winapi::process::Stream

Public Member Functions

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

Definition at line 25 of file process_io.hpp.

Constructor & Destructor Documentation

◆ Stdin() [1/4]

winapi::process::Stdin::Stdin ( )

No redirection.

Definition at line 17 of file process_io.cpp.

◆ Stdin() [2/4]

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

Make child process read form a file.

Definition at line 23 of file process_io.cpp.

◆ Stdin() [3/4]

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

◆ Stdin() [4/4]

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

Make child process read form a pipe.

Definition at line 35 of file process_io.cpp.


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