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:
parent
0e1861b084
commit
6fe88d088c
3 changed files with 89 additions and 19 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue