local_command_line


Description:

[ NoWrapper ]
public virtual bool local_command_line (ref unowned string[] arguments, out int exit_status)

This virtual function is always invoked in the local instance.

It gets passed a pointer to a null-terminated copy of argv and is expected to remove arguments that it handled (shifting up remaining arguments).

The last argument to local_command_line is a pointer to the status variable which can used to set the exit status that is returned from run.

See run for more details on Application startup.

Parameters:

this

a Application

arguments

array of command line arguments

exit_status

exit status to fill after processing the command line.

Returns:

true if the commandline has been completely handled




2022 vala-language.org