mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Apple increased lsof wait time
Need a longer time when launching applications from xcode for debugging Previously the wait time was ~1 second, now it is ~8 seconds
This commit is contained in:
committed by
Baldur Karlsson
parent
ddd6d2f86f
commit
65e0028f64
@@ -68,7 +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;
|
||||
for(int i = 0; i < 10; ++i)
|
||||
// Wait for a maximum of ~8 seconds
|
||||
for(int i = 0; i < 13; ++i)
|
||||
{
|
||||
result = execcmd(lsof.c_str());
|
||||
if(!result.empty())
|
||||
|
||||
Reference in New Issue
Block a user