5 /* git_path returns additions to the systems path variable and is used
6 * by exec_program for the environment. If an implementation does not
7 * want to add anything to the path it should return an empty string. An
8 * error is indicated by returning NULL.
10 const char *git_path();
12 /* opens a message box with ok button on this platform */
13 void message_box(const char *string
);
15 /* returns true if path is a directory */
16 int is_directory(const char *path
);
18 pid_t
fork_process(const char *cmd
, const char **args
, const char *wd
);
20 /* returns 1 on success 0 on timeout and -1 on failure to get exit code
22 int wait_for_process(pid_t pid
, int max_time
, int *errcode
);
25 #define close_process (void)(pid)
27 void close_process(pid_t pid
);
30 #endif /* SYSTEMINFO_H */