blob: 0f6f13e7b9e360e97b54f01ebf921b9b32429989 (
plain)
1
2
3
4
|
-- run a script in a subdir, and check the current directory when it returns
-- makes sure that current directory gets restored when a nested script completes
dofile("nested/getcwd.lua")
return os.getcwd()
|