From c1b84c267a667657c04f447a906d8d8c9fd7bfcb Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Mon, 1 Dec 2025 03:44:11 -0600 Subject: [PATCH] Fix for mac --- src/Http/HttpClient.cpp | 2 -- src/Platform/Process.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Http/HttpClient.cpp b/src/Http/HttpClient.cpp index 7bc3827..2adc3d4 100644 --- a/src/Http/HttpClient.cpp +++ b/src/Http/HttpClient.cpp @@ -157,7 +157,6 @@ namespace Tesses::Framework::Http HttpResponse::HttpResponse(std::shared_ptr strm) { this->handleStrm=nullptr; - this->owns=owns; StreamReader reader(strm); std::string statusLine; if(!reader.ReadLine(statusLine)) return; @@ -184,7 +183,6 @@ namespace Tesses::Framework::Http HttpResponse::HttpResponse(HttpRequest& req) { - this->owns=true; this->handleStrm = nullptr; std::string url = req.url; diff --git a/src/Platform/Process.cpp b/src/Platform/Process.cpp index 9e1649e..0476622 100644 --- a/src/Platform/Process.cpp +++ b/src/Platform/Process.cpp @@ -613,7 +613,7 @@ CreateProcessW( } if(!this->workingDirectory.empty()) Tesses::Framework::Filesystem::VFSPath::SetAbsoluteCurrentDirectory(this->workingDirectory); - execvpe(this->name.c_str(),argv,envp); + execve(this->name.c_str(),argv,envp); exit(1); } p->pid = pid;