util  Diff

Differences From Artifact [d69c7e1283]:

To Artifact [930615166d]:


166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
		close(rd);
		return 0;
	}

	child: {
		close(rd);
		
		// redirect stdout and stderr to our pty master
		dup2(wr, 1);
		dup2(wr, 2);
		close(wr);

		execv(argv[1],argv+2);
		return 1; // THIS SHOULD NEVER HAPPEN
	}
}







|

<






166
167
168
169
170
171
172
173
174

175
176
177
178
179
180
		close(rd);
		return 0;
	}

	child: {
		close(rd);
		
		// redirect stdout (NOT stderr) to our pty master
		dup2(wr, 1);

		close(wr);

		execv(argv[1],argv+2);
		return 1; // THIS SHOULD NEVER HAPPEN
	}
}