Changed command variable to template in subprocesses to make more explicit.