3 ms·
The os.execute function does all this. os.execute("timeout "..seconds) for example. More complicated for file system operations, but it's possible. This is sig
by Houshalter 12y ago
The os.execute function does all this. os.execute("timeout "..seconds) for example. More complicated for file system operations, but it's possible.
This is significantly less than optimal though.
- catwell 12y agoAnd not portable (or safe, for things like path manipulation). But sure, you can still use os in small scripts.