(related to Issue 19: Get rid of time.sleep() usage in the test suite)
(related to Issue 19: Get rid of time.sleep() usage in the test suite)

I added a convenience "wait_for_pid(pid)" function replacing all time.sleep() calls.
Called right after subprocess creation, it waits for pid to show up in the process list then return.

Thanks to this change test suite runs about 4x faster and works fine on UNIX but it causes different test failures on Windows where process information are filled with "null" values (e.g. name = "unknown", cmdarg = [], and so on...).

git-svn-id: 9f18dd852162ff6c59c5533c0914e9cf81af9e7c@184 d8a29897-7e4b-0410-a74a-8bb4c295346f

elventear/psutil,elventear/psutil