APUE: 20130329: modify my_popen

Signed-off-by: freestyle <protocolstack9@gmail.com>