mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Suppress open_link output
This commit is contained in:
parent
ead2422dcf
commit
1be3b7ead5
|
@ -3254,7 +3254,7 @@ int open_link(const char *link)
|
|||
str_format(aBuf, sizeof(aBuf), "start %s", link);
|
||||
return (uintptr_t)ShellExecuteA(NULL, "open", link, NULL, NULL, SW_SHOWDEFAULT) > 32;
|
||||
#elif defined(CONF_PLATFORM_LINUX)
|
||||
str_format(aBuf, sizeof(aBuf), "xdg-open %s &", link);
|
||||
str_format(aBuf, sizeof(aBuf), "xdg-open %s >/dev/null 2>&1 &", link);
|
||||
return system(aBuf) == 0;
|
||||
#elif defined(CONF_FAMILY_UNIX)
|
||||
str_format(aBuf, sizeof(aBuf), "open %s &", link);
|
||||
|
|
Loading…
Reference in a new issue