add DXCommand::spawn_cmd and convert suitable cmds