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");