Fix for mac

This commit is contained in:
2025-12-01 03:44:11 -06:00
parent c588cd7451
commit c1b84c267a
2 changed files with 1 additions and 3 deletions

View File

@@ -157,7 +157,6 @@ namespace Tesses::Framework::Http
HttpResponse::HttpResponse(std::shared_ptr<Stream> 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;

View File

@@ -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;