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

This commit is contained in:
2026-04-29 09:23:18 +02:00
parent b7121464ee
commit fd879a0b4c
2 changed files with 3 additions and 6 deletions
+2
View File
@@ -6,3 +6,5 @@ iocInit()
# Initialize the waveform record
dbpf("MEPICSCA:TEST:WAVEFORM", "ABC")
echo "IOC running"
+1 -6
View File
@@ -44,13 +44,8 @@ class IocProcess {
_pid = fork();
if (_pid == 0) {
int devnull = open("/dev/null", O_RDWR);
dup2(devnull, STDIN_FILENO);
dup2(devnull, STDOUT_FILENO);
dup2(devnull, STDERR_FILENO);
close(devnull);
fprintf(stderr, "Starting IOC with PID %d\n", getpid());
execl(path.c_str(), path.c_str(), (char *)NULL);
perror("execl failed");