PTFM-13132 Fix dx sh with stdin commands