Now that the 1.0 feature freeze is on the horizon, I’d like to re-surface a long-standing issue and make a plea for it to be addressed in 1.0.
Sometimes one wants to launch a long-living external program from Julia, and iteract with it via STDIN, STDOUT and STDERR. Note that direct access to the pipes is needed; it’s not enough to connect the pipes to files.
There is still no documented way to do this, although it is possible using undocumented functions, as I do here.
From the standpoint of a Julia programmer, having this functionality added to standard commands such as
readandwrite would be ideal. A close second best would be to officially document and sanction a way to do this. My concern with relying on undocumented features is that code such as my
popen3 function may be broken any time Julia’s internal API changes.
If there is consensus that this is something that should be addressed, I’ll open a new issue.