word wrap works
changed shell run arg to check if pid isNaN