command_lines


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.9.1" ) ]
public string[] command_lines (string[] arguments) throws Error

run a command, returning lines

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

See also: sh_lines

Parameters:

this

A GuestfsSession object

arguments

an array of strings

Returns:

an array of returned strings, or NULL on error