Page MenuHomePhorge

cmd.h
No OneTemporary

Size
521 B
Referenced Files
None
Subscribers
None
#ifndef cmd
#define cmd
#include "cxx.h"
#include <fstream>
#include <string>
#include <iostream>
#include <cstring>
#include <cstdlib>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
using namespace rust;
namespace cmd {
class Runner {
public:
void New(const std::string &name, const std::string &logPath);
uint64_t Run(const std::string &command);
~Runner();
private:
int stdout_fd;
int stderr_fd;
};
}
uint64_t run_command(Str name, Str log_path, Str command);
#endif

File Metadata

Mime Type
text/x-c++
Expires
Sun, Feb 1, 12:28 PM (13 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
494473
Default Alt Text
cmd.h (521 B)

Event Timeline