Remove path argument from cmd_execute()

It is always equal to argv[0] (or not used on Windows).
This commit is contained in:
Romain Vimont
2019-11-27 13:41:47 +01:00
parent 8dc11a0286
commit 73e8ec1b35
4 changed files with 5 additions and 6 deletions

View File

@@ -44,7 +44,7 @@ enum process_result {
};
enum process_result
cmd_execute(const char *path, const char *const argv[], process_t *process);
cmd_execute(const char *const argv[], process_t *process);
bool
cmd_terminate(process_t pid);