Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8238703: system_profiler command not found
  • Loading branch information
prsadhuk committed Jun 3, 2020
1 parent c723f09 commit c9e8f24ae1db13c7eda2fb49e1f3d789ea8d34b0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -76,7 +76,7 @@
{
J2dRlsTraceLn(J2D_TRACE_INFO, "MTLGraphicsConfig_initMTL");

FILE *f = popen("system_profiler SPDisplaysDataType", "r");
FILE *f = popen("/usr/sbin/system_profiler SPDisplaysDataType", "r");
bool metalSupport = FALSE;
while (getc(f) != EOF)
{

0 comments on commit c9e8f24

Please sign in to comment.