Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

5 месяцев назад
1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
  3. *
  4. * This file is part of ZLMediaKit(https://github.com/xia-chu/ZLMediaKit).
  5. *
  6. * Use of this source code is governed by MIT license that can be found in the
  7. * LICENSE file in the root of the source tree. All contributing project authors
  8. * may be found in the AUTHORS file in the root of the source tree.
  9. */
  10. #ifndef ZLMEDIAKIT_SYSTEM_H
  11. #define ZLMEDIAKIT_SYSTEM_H
  12. #include <string>
  13. class System {
  14. public:
  15. static std::string execute(const std::string &cmd);
  16. static void startDaemon(bool &kill_parent_if_failed);
  17. static void systemSetup();
  18. };
  19. #endif //ZLMEDIAKIT_SYSTEM_H