char * get_windows_drive_path()
get the path of the drive Windows is installed on
Definition: system-utils.c:363
char * get_program_path()
find the path of this program
Definition: system-utils.c:366
char * get_config_path()
find the path of this ProgramData folder
Definition: system-utils.c:369
int run_unprivileged(const char *c, void *input, void *output)
run a command, similar to system(), returning pipes to the standard input and output of the process ...
Definition: system-utils.c:249
char * get_windows_path()
get the path of the Windows folder
Definition: system-utils.c:360
int run_system(const char *c)
run a command, similar to system()
Definition: system-utils.c:254
int run_system_output(const char *c, char **out)
run a command, similar to system(), collecting the program output
Definition: system-utils.c:244
int run_privileged(const char *c, const char *p, int *ret)
run a command, similar to system(), with administrator privileges
const char * get_command_line()
find the command line of this program
Definition: system-utils.c:372