Motorcortex Core  version: 2.7.6
cm_posixspawn.h
1 /*
2  * Developer : Alexey Zakharov (alexey.zakharov@vectioneer.com)
3  * All rights reserved. Copyright (c) 2019 VECTIONEER.
4  */
5 
6 #ifndef MOTORCORTEX_CORE_CM_POSIXSPAWN_H
7 #define MOTORCORTEX_CORE_CM_POSIXSPAWN_H
8 
9 #include <spawn.h>
10 #include <string>
11 
12 namespace mcx::comm {
13 
14 class PosixSpawn {
15 public:
16 
17  static std::string run(std::string cmd, int poll_timeout_ms = 1000);
18 };
19 
20 } // namespace mcx::comm
21 
22 #endif //MOTORCORTEX_CORE_CM_POSIXSPAWN_H
mcx::comm::PosixSpawn
Definition: cm_posixspawn.h:14