set_program


Description:

[ Version ( since = "1.21.29" ) ]
public bool set_program (string program) throws Error

set the program name

Set the program name. This is an informative string which the main program may optionally set in the handle.

When the handle is created, the program name in the handle is set to the basename from "argv[0]". The program name can never be NULL .

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error