Redirect standard input to Grain