in reply to Re^4: How to know whether user terminates system("$cmd|more") with q or not?in thread How to know whether user terminates system("$cmd|more") with q or not?