As far as I know some are using virtual machines or container and I think the function is quite similar or even the same they are using.
The advantage is that you can use it on local events if you haven't any connection from the outside. The disadvantage would be that you are using the same resources, so the virtual machine would be visible in the task manager/ps and you need to hide it as well.
From security perspective you migth be sure only the second computer is able to execute this command
Moreover if we are thinking about steamgames it might also be possible to load the cheat via a workshop. If you hide the payload in a picture/gif or whatever and get's it executed. And for most of the games you might load it via another server which we could say is the same like second computer if we have some code on a server which can be execute by using an exploit.