Skip to content
Snippets Groups Projects
Commit 393585cc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Print the reason for the exit.

parent 9935aee5
Branches
Tags
No related merge requests found
......@@ -22,10 +22,13 @@ while x.loop():
elif x.timeout():
pass
elif x.eof(user):
print "EOF on user"
break
elif x.eof(sh_err):
print "EOF on stderr"
break
elif x.eof(sh):
print "EOF on stdout"
break
sh.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment