Experimenting
CI / build-and-test (push) Failing after 9s

This commit is contained in:
2026-04-29 09:22:23 +02:00
parent 70cc307fe7
commit b7121464ee
+4 -3
View File
@@ -44,13 +44,14 @@ class IocProcess {
_pid = fork();
if (_pid == 0) {
int devnull = open("/dev/null", O_RDWR);
// Hide IOC output
int devnull = open("/dev/null", O_WRONLY);
dup2(devnull, STDIN_FILENO);
dup2(devnull, STDOUT_FILENO);
dup2(devnull, STDERR_FILENO);
close(devnull);
// Start the IOC from the child process
execl(path.c_str(), path.c_str(), (char *)NULL);
perror("execl failed");
_exit(1);