subprocess::input::input

Opens a file for reading and uses it as the child's input.

Synopsis

Declared in <util/subprocess.h>

explicit
input(char const* filename);

Parameters

NameDescription
filenamePath of the file to open read-only.