Simulated simple input redirection from shell