in reply to Re^3: How to know the status of a command invoked by open function?in thread How to know the status of a command invoked by open function?