UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UnixPlatformProcess Namespace Reference

Functions

FString GetReadableTime (double InDeltaSeconds)
 
bool AttemptToMakeExecIfNotAlready (const FString &AbsoluteFilename)
 

Function Documentation

◆ AttemptToMakeExecIfNotAlready()

bool UnixPlatformProcess::AttemptToMakeExecIfNotAlready ( const FString &  AbsoluteFilename)

This function tries to set exec permissions on the file (if it is missing them). It exists because files copied manually from foreign filesystems (e.g. CrashReportClient) or unzipped from certain arhcive types may lack +x, yet we still want to execute them.

Parameters
AbsoluteFilenameabsolute filename to the file in question
Returns
true if we should attempt to execute the file, false if it is not worth even trying

◆ GetReadableTime()

FString UnixPlatformProcess::GetReadableTime ( double  InDeltaSeconds)