Blocking is enabled by default. */
virtual void set_block(bool) = 0;
+ /** Sets inheritance mode. When inheritance is enabled, the file descriptor
+ will persist through Process::execute.
+
+ Inheritance is disabled by default. */
+ virtual void set_inherit(bool) = 0;
+
/** Returns the current mode flags. */
Mode get_mode() const { return mode; }