25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

24 satır
672B

  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