PDA

View Full Version : system & execute badly working



Paho
18th July 2016, 13:11
not always remove(especially when many files):

Callback_StartGameType()
{
system("rm -rf /root/server/scriptdata/savestata/*");
....
}
for couple of days:
get undefined param
+
memory size add ≈ 200

execute("LC_TIME=en_US date");//every 30 minute

maxdamage99
18th July 2016, 16:14
C++ Linux: system() - bad work on CentOS-7-x86_64, who know is problem?