shell output goes to correct shell