add non-blocking popen.