1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #367, process support redirect stdout and stderr.

This commit is contained in:
winlin 2015-08-24 22:19:57 +08:00
parent 0e1861b084
commit 6fe88d088c
3 changed files with 89 additions and 19 deletions

View file

@ -51,7 +51,11 @@ private:
pid_t pid;
private:
std::string bin;
std::string stdout_file;
std::string stderr_file;
std::vector<std::string> params;
// the cli to fork process.
std::string cli;
public:
SrsProcess();
virtual ~SrsProcess();