Make `shell` work at Nim compile time
Vindaar opened this issue · comments
Sebastian commented
Currently shell
only works either at runtime or in NimScript. However, it should be possible to also have it work at CT. At the moment the decision of which code branch to run is simply done based on when defined(NimScript)
. This needs to be extended by a when nimvm
branch, which then uses gorge
to execute the commands.
Thanks @Clonkk about the reminder about gorge
!