expand_variables


Description:


[ Version ( since = "4.2" ) ]
public string expand_variables (string command, string envp)

Expands shell like environment variables and tilde (~/ and ~user/ are both supported) in command.

Parameters:

command

Input string or null.

envp

Addition environment variables to take into account. These variables have higher priority than the ones in the process's environment.

Returns:

null on error, else the string, which should be freed using g_free when no longer needed.


Namespace: Xfce