From fbf797ebedbf2e60b495b793ae8770dd588753f7 Mon Sep 17 00:00:00 2001 From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net> Date: Tue, 17 Sep 2019 17:21:26 +0700 Subject: [PATCH] [*] Linux fixes --- src/dap_common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dap_common.c b/src/dap_common.c index b64b42e0d1..e7b756007a 100755 --- a/src/dap_common.c +++ b/src/dap_common.c @@ -1176,6 +1176,7 @@ void dap_digit_from_string2(const char *num_str, uint8_t *raw, size_t raw_len) */ int exec_silent(const char * a_cmd) { +#ifdef _WIN32 PROCESS_INFORMATION p_info; STARTUPINFOA s_info; @@ -1196,4 +1197,7 @@ int exec_silent(const char * a_cmd) { else { return -1; } +#else + return execl(".",a_cmd); +#endif } -- GitLab