Results 1 to 2 of 2

Thread: system & execute badly working

  1. #1
    Private Paho's Avatar
    Join Date
    Feb 2014
    Location
    Russia
    Posts
    101
    Thanks
    43
    Thanked 48 Times in 37 Posts

    system & execute badly working

    not always remove(especially when many files):
    Code:
    Callback_StartGameType()
    {
    system("rm -rf /root/server/scriptdata/savestata/*");
    ....
    }
    for couple of days:
    get undefined param
    +
    memory size add ≈ 200
    Code:
    execute("LC_TIME=en_US date");//every 30 minute
    Last edited by Paho; 18th July 2016 at 12:26.

  2. The Following User Says Thank You to Paho For This Useful Post:

    kubislav23 (18th July 2016)

  3. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    C++ Linux: system() - bad work on CentOS-7-x86_64, who know is problem?

  4. The Following 2 Users Say Thank You to maxdamage99 For This Useful Post:

    kubislav23 (18th July 2016),Paho (23rd July 2016)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •