bitcoin/bitcoin — pull request #3283 by gavinandresen (2013-11-20 06:02:47+00:00)
Title: RPC client option: -rpcwait, to wait for server start

I often want to run RPC command(s) as soon as I've started bitcoind.

This lets me do that; e.g.

bitcoin-cli -rpcwait getinfo