Using RPC (wait_for_rpc_connection) has several issue:
- It polls in a loop, which might be slow
- It tries to read the RPC cookie file, which might not be present, thus leading to intermittent issues
Fix both by using Popen.wait
Using RPC (wait_for_rpc_connection) has several issue:
Fix both by using Popen.wait
Idea by @jonasschnelli
Code review ACK faf7b05be9c86ee61c39e5314511fe2410128a6b fa918dd537fea775c19a590e5f9161bf51a5839b
ACK fa918dd537fea775c19a590e5f9161bf51a5839b