<div dir="ltr">One difference between app and non-app functions like system() is that the non-app functions will always run on local host whereas the app functions will almost always run on remote and/or compute nodes. It should thus be easier to handle exit conditions for system().</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 5, 2014 at 7:58 PM, David Kelly <span dir="ltr"><<a href="mailto:davidkelly@uchicago.edu" target="_blank">davidkelly@uchicago.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class=""><div class="gmail_quote">On Sat, Apr 5, 2014 at 9:42 AM, Michael Wilde <span dir="ltr"><<a href="mailto:wilde@anl.gov" target="_blank">wilde@anl.gov</a>></span> wrote:</div>
</div><div class="gmail_quote"><div class="">
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Yadu and I discussed something similar (ie getting a separate return
code as well). I agree, that would be good.</div></blockquote><div><br></div></div><div>How do you get the return code of an app() function in Swift? As far as I know you can't - it either runs successfully (perhaps after retries) or it fails and stops execution. I think system() should follow the same pattern.</div>
</div></div></div>
<br>_______________________________________________<br>
Swift-devel mailing list<br>
<a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>
<br></blockquote></div><br></div>