Ignore sigpipe
This commit is contained in:
parent
c6d62059ae
commit
82cc4d0f6f
|
@ -4,7 +4,11 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include <csignal>
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
|
std::signal(SIGPIPE, SIG_IGN);
|
||||||
|
|
||||||
using namespace utils::parametres;
|
using namespace utils::parametres;
|
||||||
auto params = ParseInputParameters(argc, argv);
|
auto params = ParseInputParameters(argc, argv);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue