std.process
いいshell()
機能があります。
import std.process;
import std.stdio;
void main()
{
string Output = shell("ls .");
writeln("The contents of this directory are:");
write(Output);
}
これはPhobosソースに文書化されていますが、オンラインでは文書化されていません。これにより、実際のコードで使用することを少し躊躇します。それは実験的で不安定ですか、それともオンラインドキュメントは遅れていますか?