The os. table should be usable in all of Celestia's Lua environments.
According to Vincent, the Lua system table os. works in the Lua Hook environment.
However, even after calling requestsystemaccess()
the os. table returns a nil when called from Celx scripts and from ScriptedOrbits and Rotations. It should return correct values.