AbstractOperatingSystem.st
changeset 3797 ecbff4d56de7
parent 3758 1cc926a7b2a6
child 3806 37595c95381f
--- a/AbstractOperatingSystem.st	Thu Aug 27 16:45:57 1998 +0200
+++ b/AbstractOperatingSystem.st	Thu Aug 27 16:46:26 1998 +0200
@@ -1025,6 +1025,24 @@
     "Modified: / 12.6.1998 / 16:30:14 / cg"
 !
 
+fork
+    "fork a new (HEAVY-weight) unix process.
+     Not supported with MSDOS & VMS systems.
+     Dont confuse this with Block>>fork, which creates
+     lightweight smalltalk processes. This method will return
+     0 to the child process, and a non-zero number (which is the childs
+     unix-process-id) to the parent (original) process.
+
+     In normal situations, you dont need to use this low level entry; see
+     #startProcess: and #executCommand: for higher level interfaces."
+
+    "/
+    "/ not supported by OS
+    "/
+
+    ^ UnsupportedOperationSignal raise
+!
+
 getCommandOutputFrom:aCommand
     "execute a simple command (such as hostname) and
      return the commands output as a string"
@@ -3295,6 +3313,6 @@
 !AbstractOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.4 1998-08-13 19:39:15 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.5 1998-08-27 14:46:26 cg Exp $'
 ! !
 AbstractOperatingSystem initialize!