Log in

View Full Version : XenoBot Bug - Open [Other] os.execute



kamilqq
01-21-2016, 09:44 PM
Bug ReportOperating System:
Other Short Description:
os.execute Behaviors: Loss of or impaired functionality

Indepth Description:
path = ('%USERPROFILE%\\Documents\\Xenobot\\Logi\\' .. Self.Name())
os.execute("mkdir "" .. path .. """)

i were using it a long time ago, now it does;nt work. Error poped up :
attempt to call field 'execute' (a nil value)

shadowart
01-21-2016, 10:18 PM
os.execute was removed for security reasons. You can get it working again by modifying your xeno lua lib, but you can't distribute scripts that use it.

kamilqq
01-23-2016, 10:18 PM
os.execute was removed for security reasons. You can get it working again by modifying your xeno lua lib, but you can't distribute scripts that use it.

Thanks, modified it work's now. I didnt think that could be that easy :D. Btw shadowart i learnt alot by looking at your code. Thanks once more :)

shadowart
01-24-2016, 04:45 PM
Thanks, modified it work's now. I didnt think that could be that easy :D. Btw shadowart i learnt alot by looking at your code. Thanks once more :)
You're welcome :D