Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions LLama/Native/Load/SystemInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ public static SystemInfo Get()
CreateNoWindow = true
}
};
var (exitCode, output, error, ok) = process.SafeRun(TimeSpan.FromSeconds(1));
var (exitCode, output, error, ok) = process.SafeRun(TimeSpan.FromSeconds(12));

if (!ok)
return null;

// Return the output
return output;
// If ok return the output else return null
return ok ? output :
null;
}
catch
{
Expand Down