From bb5a113fe4c96fbe2503844be3325ec99dd7f153 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 5 Feb 2024 01:19:35 -0800 Subject: [PATCH] client (Mac): use full path for system_profiler --- client/gpu_detect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gpu_detect.cpp b/client/gpu_detect.cpp index 60e975360a..7168a56cb8 100644 --- a/client/gpu_detect.cpp +++ b/client/gpu_detect.cpp @@ -847,7 +847,7 @@ void gpu_warning(vector &warnings, const char* msg) { #include "mac/mac_spawn.h" void COPROC_APPLE::get(vector&) { int retval = callPosixSpawn( - "sh -c 'system_profiler SPDisplaysDataType > temp'" + "sh -c '/usr/sbin/system_profiler SPDisplaysDataType > temp'" ); if (retval) return; FILE* f = fopen("temp", "r");