[phobos] Removing std.stdio.File.popen()

Lars Tandle Kyllingstad lars at kyllingen.net
Mon Aug 16 01:11:01 PDT 2010


I just noticed that std.stdio.File.popen() is POSIX-only.  Taking that
into account, along with the fact that it is buggy (issue 3157), does
anyone mind if I remove it?

It's only used once in Phobos, namely in std.process.shell(), which is
easily implemented by using core.sys.posix.stdio.popen() together with
core.sys.posix.stdio.fdopen() and std.stdio.File.wrapFile().

-Lars



More information about the phobos mailing list