mirror of
https://github.com/polybar/polybar.git
synced 2026-03-01 05:19:54 +00:00
refactor(common): Cleanup
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#include <csignal>
|
||||
#include <cstdlib>
|
||||
#include <utility>
|
||||
|
||||
#include "errors.hpp"
|
||||
@ -8,6 +9,13 @@
|
||||
#include "utils/io.hpp"
|
||||
#include "utils/process.hpp"
|
||||
|
||||
#ifndef STDOUT_FILENO
|
||||
#define STDOUT_FILENO 1
|
||||
#endif
|
||||
#ifndef STDERR_FILENO
|
||||
#define STDERR_FILENO 2
|
||||
#endif
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
command::command(const logger& logger, string cmd) : m_log(logger), m_cmd(move(cmd)) {
|
||||
|
||||
Reference in New Issue
Block a user