<div dir="ltr">is it properly sandboxed / hacking proof?<div><br></div><div>quick tests:</div><div><br></div><div>```</div><div>import std.process;</div><div>auto msg="sleep 10";</div><div>executeShell(msg).output.writeln;</div><div>```</div><div><br></div><div> correctly results in `Application output (9: Killed)` </div><div><br></div><div>"ls -al .."  => permission denied</div><div><br></div><div>"ls /usr/bin/ld" => -rwxr-xr-x 2 0 0 834648 Jan  3  2013 /usr/bin/ld</div><div><br></div><div>"ps -auwx" => ...</div><div><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 19, 2016 at 6:25 PM, Joakim via Digitalmars-d-announce <span dir="ltr"><<a href="mailto:digitalmars-d-announce@puremagic.com" target="_blank">digitalmars-d-announce@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Monday, 19 December 2016 at 17:50:17 UTC, Seb wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Monday, 19 December 2016 at 17:44:29 UTC, Andrei Alexandrescu wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Take a look e.g. at <a href="https://dlang.org/phobos-prerelease/std_algorithm_iteration.html" rel="noreferrer" target="_blank">https://dlang.org/phobos-prere<wbr>lease/std_algorithm_iteration.<wbr>html</a>. Examples now have "Edit" and "Run" buttons that allow you to play with them online and see what they output. Changes for the ddox version forthcoming.<br>
<br>
Related: <a href="https://github.com/dlang/dlang.org/pull/1297" rel="noreferrer" target="_blank">https://github.com/dlang/dlang<wbr>.org/pull/1297</a>, <a href="https://issues.dlang.org/show_bug.cgi?id=16984" rel="noreferrer" target="_blank">https://issues.dlang.org/show_<wbr>bug.cgi?id=16984</a>, <a href="https://issues.dlang.org/show_bug.cgi?id=16985" rel="noreferrer" target="_blank">https://issues.dlang.org/show_<wbr>bug.cgi?id=16985</a>.<br>
<br>
Many thanks to Sebastian Wilzbach who took this to completion, and to Damian Ziemba for working on the online compiler code!<br>
<br>
<br>
Andrei<br>
</blockquote>
<br>
I would like to add that this is in an experimental/testing stage and hopefully will get stable with the next release ;-)<br>
</blockquote>
<br></div></div>
When all tests pass, would be better if it said that, rather than "No output," which it says now.<br>
</blockquote></div><br></div>