From 0eae1b9be25dd242ee3cb9d5ced519de2af832b8 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 18 Aug 2022 00:42:27 -0400 Subject: [PATCH] - change the Linux/BSD version of `system` call to `std::system` --- src/common/platform/posix/sdl/i_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/platform/posix/sdl/i_system.cpp b/src/common/platform/posix/sdl/i_system.cpp index 14630b5ce5..2111adc1dd 100644 --- a/src/common/platform/posix/sdl/i_system.cpp +++ b/src/common/platform/posix/sdl/i_system.cpp @@ -456,7 +456,7 @@ void I_OpenShellFolder(const char* infolder) if (!chdir(infolder)) { Printf("Opening folder: %s\n", infolder); - system("xdg-open ."); + std::system("xdg-open ."); chdir(curdir); } else