Windows: Make sure argv[0] has a path
[git/spearce.git] / exec_cmd.h
blob0c46cd5636e1bab445b91c6407210afcb5ccb772
1 #ifndef GIT_EXEC_CMD_H
2 #define GIT_EXEC_CMD_H
4 extern void git_set_argv_exec_path(const char *exec_path);
5 extern void git_set_argv0_path(const char *path);
6 extern const char* git_exec_path(void);
7 extern void setup_path(void);
8 extern int execv_git_cmd(const char **argv); /* NULL terminated */
9 extern int execl_git_cmd(const char *cmd, ...);
10 extern const char *system_path(const char *path);
12 #endif /* GIT_EXEC_CMD_H */