Okay, same school project as before. I know now that less will automatically read from stdin. I have an IPC pipe going into the stdin descriptor of this child process, which I can then execl less to read that data.

However, I want to run less in a new terminal window. So, I execl xterm -hold -E less.

The problem here is that xterm is closing the IPC pipe I have routed to stdin's descriptor. Any of you know a way to prevent it from doing that, or a workaround that doesn't involve writing the contents of the pipe to a file and calling less on it?