sh_lines


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.0.50" ) ]
public string[] sh_lines (string command) throws Error

run a command via the shell returning lines

This is the same as sh, but splits the result into a list of lines.

See also: command_lines

Parameters:

this

A GuestfsSession object

Returns:

an array of returned strings, or NULL on error




2022 vala-language.org