mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Apple: wait for ~16 seconds for application launch
On Apple Silicon it can take ~10 seconds for the OS to launch an Intel x64 process. The Intel executable is translated on launch using Rosetta.
This commit is contained in:
committed by
Baldur Karlsson
parent
f9b6752f14
commit
f74b350f93
@@ -68,8 +68,8 @@ int GetIdentPort(pid_t childPid)
|
||||
rdcstr lsof = StringFormat::Fmt("lsof -p %d -a -i 4 -F n", (int)childPid);
|
||||
rdcstr result;
|
||||
uint32_t wait = 1;
|
||||
// Wait for a maximum of ~8 seconds
|
||||
for(int i = 0; i < 13; ++i)
|
||||
// Wait for a maximum of ~16 seconds
|
||||
for(int i = 0; i < 14; ++i)
|
||||
{
|
||||
result = execcmd(lsof.c_str());
|
||||
if(!result.empty())
|
||||
|
||||
Reference in New Issue
Block a user