UnixOperatingSystem.st
changeset 16410 8e2a49eab15c
parent 16396 4896e6f5ffda
child 16417 88b61e714dd0
--- a/UnixOperatingSystem.st	Thu May 08 07:58:01 2014 +0000
+++ b/UnixOperatingSystem.st	Thu May 08 19:33:02 2014 +0200
@@ -11655,6 +11655,12 @@
     "Modified: 30.4.1996 / 18:27:03 / cg"
 !
 
+isError
+    "true if process terminated with error"
+
+    ^ status == #exit and:[code ~= 0]
+!
+
 stillAlive
     "true if process is still alive"
 
@@ -13266,11 +13272,11 @@
 !UnixOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.359 2014-05-06 09:51:29 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.360 2014-05-08 17:33:02 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.359 2014-05-06 09:51:29 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.360 2014-05-08 17:33:02 stefan Exp $'
 ! !