Tor is not working with the RunAsDaemon option enabled
When I run a Tor instance with the RunAsDaemon option enabled it does not work. I tested it with the current stable and alpha releases. I remember this option was working at the time I wrote the http://blog.databigbang.com/distributed-scraping-with-multiple-tor-circuits/ article (December 2, 2011).
If I run it in the following way: tor --RunAsDaemon 1 --CookieAuthentication 0 --HashedControlPassword "" --ControlPort 8118 --PidFile tor0.pid --SocksPort 9050 --DataDirectory data/tor0
and test it using curl with: curl -v --socks5 localhost:9050
It never retrieves the url, but if I run the tor process without RunAsDaemon it works.