class PipedCommand
Defined at line 27 of file ../../src/lib/zxdump/piped-command.h
This handles a spawned subprocess with file descriptor redirection,
usually redirected to pipes (hence the name).
Public Methods
void PipedCommand ()
Defined at line 29 of file ../../src/lib/zxdump/piped-command.h
void PipedCommand (const PipedCommand & )
Defined at line 30 of file ../../src/lib/zxdump/piped-command.h
void PipedCommand (PipedCommand && )
Defined at line 31 of file ../../src/lib/zxdump/piped-command.h
void Redirect (int number, fbl::unique_fd fd)
Set up redirections for when the command is launched.
Defined at line 36 of file ../../src/lib/zxdump/piped-command.h
void ~PipedCommand ()
Defined at line 37 of file ../../src/lib/zxdump/piped-command-posix.cc
fit::result<std::string> Start (const std::string & command, const std::vector<std::string> & args)
Start the command running with argv {command, args...}.
Defined at line 9 of file ../../src/lib/zxdump/piped-command.cc
void SetSpawnActions (uint32_t flags, std::vector<fdio_spawn_action_t> actions)
Call this before Start to change the fdio_spawn details.
Defined at line 40 of file ../../src/lib/zxdump/piped-command.h
int process ()
Defined at line 57 of file ../../src/lib/zxdump/piped-command.h
int process ()
Defined at line 58 of file ../../src/lib/zxdump/piped-command.h