From 9bd5bd46b1e82cc2fa59d5d2970c1aea3c0077af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Sat, 11 Jan 2025 16:39:53 -0300 Subject: [PATCH] Fix for windows build. --- src/eepp/system/sys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eepp/system/sys.cpp b/src/eepp/system/sys.cpp index c47175a24..e9c343c56 100644 --- a/src/eepp/system/sys.cpp +++ b/src/eepp/system/sys.cpp @@ -1256,7 +1256,7 @@ static int windowsSystem( const std::string& programPath, const std::string& wor int Sys::execute( const std::string& cmd, const std::string& workingDir ) { #if EE_PLATFORM == EE_PLATFORM_WIN - windowsSystem( cmd, workingDir ); + return windowsSystem( cmd, workingDir ); #elif EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN pid_t pid = fork(); if ( pid == 0 ) {