Follow

Friday at midnight, I wrote some code to capture subprocess output in a pipe. It didn't work, no matter how I tweaked things. This morning after a full night's rest I looked at my code and saw I had written:

pid_t pid = fork();
pipe(pipefds);

What a stupidhead I am. 😅

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!