Set the global pct/cmd.Factory, used for the Restart cmd.