Iros
 
Loading...
Searching...
No Matches
dius::system::Process Class Reference

#include <dius/system/process.h>

Public Member Functions

 Process (di::Vector< di::TransparentString > arguments)
 
auto with_file_open (i32 fd, di::Path path, OpenMode open_mode, u16 create_mode=0666) &&-> Process
 
auto with_file_close (i32 fd) &&-> Process
 
auto with_file_dup (i32 old_fd, i32 new_fd) &&-> Process
 
auto with_new_session () &&-> Process
 
auto spawn_and_wait () &&-> di::Result< ProcessResult >
 

Constructor & Destructor Documentation

◆ Process()

dius::system::Process::Process ( di::Vector< di::TransparentString > arguments)
inlineexplicit

Member Function Documentation

◆ spawn_and_wait()

auto dius::system::Process::spawn_and_wait ( ) && -> di::Result<ProcessResult>

◆ with_file_close()

auto dius::system::Process::with_file_close ( i32 fd) && -> Process
inline

◆ with_file_dup()

auto dius::system::Process::with_file_dup ( i32 old_fd,
i32 new_fd ) && -> Process
inline

◆ with_file_open()

auto dius::system::Process::with_file_open ( i32 fd,
di::Path path,
OpenMode open_mode,
u16 create_mode = 0666 ) && -> Process
inline

◆ with_new_session()

auto dius::system::Process::with_new_session ( ) && -> Process
inline

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