CommandPipe


Description:

[ CCode ( cname = "popen" ) ]
public CommandPipe (string command, string mode = "r")

A pipe to the given command run in a child process

Parameters:

command

The command to run

mode

Either 'r' or 'w'. 'r' creates a pipe to the command's STDOUT, the command's STDIN is the same as the parent process. 'w' creates a pipe to the command's STDIN, the command's STDOUT is the same as the parent process




2022 vala-language.org