[apps.shell] fixed: proc function compatibility with python2