childProcess.isRunning(): accept PID as well as child object