popen doesn't appear to give much control over timeouts for processes

popen doesn't appear to give much control over timeouts for processes

Is a process still working? Or did it hang?