Function streamShellCommand