diff --git a/test/ioc/st.cmd b/test/ioc/st.cmd index 87c061f..23d63bc 100755 --- a/test/ioc/st.cmd +++ b/test/ioc/st.cmd @@ -6,3 +6,5 @@ iocInit() # Initialize the waveform record dbpf("MEPICSCA:TEST:WAVEFORM", "ABC") + +echo "IOC running" diff --git a/test/m_epics_ca_test.cxx b/test/m_epics_ca_test.cxx index d5d4008..b2395f6 100644 --- a/test/m_epics_ca_test.cxx +++ b/test/m_epics_ca_test.cxx @@ -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");