[Swift-devel] New built-in system, request for comments

Ketan Maheshwari ketan at mcs.anl.gov
Sun Apr 6 13:30:31 CDT 2014


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().


On Sat, Apr 5, 2014 at 7:58 PM, David Kelly <davidkelly at uchicago.edu> wrote:

> On Sat, Apr 5, 2014 at 9:42 AM, Michael Wilde <wilde at anl.gov> wrote:
>
>  Yadu and I discussed something similar (ie getting a separate return code
>> as well). I agree, that would be good.
>>
>
> 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.
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20140406/2c8a04e0/attachment.html>


More information about the Swift-devel mailing list