#DOCUMENTATION by exept
class: AbstractOperatingSystem class
comment/format in:
#startProcess:inputFrom:outputTo:errorTo:auxFrom:aux2To:environment:inDirectory:newPgrp:showWindow:
#startProcess:inputFrom:outputTo:errorTo:auxFrom:environment:inDirectory:newPgrp:showWindow:
--- a/AbstractOperatingSystem.st Wed Sep 04 09:00:06 2019 +0200
+++ b/AbstractOperatingSystem.st Wed Sep 04 09:01:52 2019 +0200
@@ -994,8 +994,9 @@
- see the description of 'sh -c' in your UNIX manual ('cmd.com' in your MSDOS manual).
If aCommandString is an Array, the first element is the command to be executed,
and the other elements are the arguments to the command. No shell is invoked in this case.
- The command gets stdIn, stdOut and stdErr assigned from the arguments;
- each may be nil.
+ The command gets stdIn, stdOut and stdErr assigned from the arguments; each may be nil.
+ If auxInStream is nonNil, it is passed as FD3 for reading;
+ if auxOutStream is nonNil, it is passed as FD4 for writing.
Return the processId if successful, nil otherwise.
Notice: on Unix, this id is an integer; on Windows, it is a processhandle.
Use #monitorPid:action: for synchronization and exec status return,
@@ -1194,7 +1195,7 @@
startProcess:aCommandString
inputFrom:anExternalInStreamOrNil outputTo:anExternalOutStreamOrNil errorTo:anExternalErrStreamOrNil
- auxFrom:anAuxiliaryStreamOrNil
+ auxFrom:anAuxiliaryInStreamOrNil
environment:anEvironmentDictionary inDirectory:dir newPgrp:newPgrp showWindow:showWindowBooleanOrNil
"start executing the OS command as specified by the argument, aCommandString
@@ -1203,8 +1204,8 @@
- see the description of 'sh -c' in your UNIX manual ('cmd.com' in your MSDOS manual).
If aCommandString is an Array, the first element is the command to be executed,
and the other elements are the arguments to the command. No shell is invoked in this case.
- The command gets stdIn, stdOut and stdErr assigned from the arguments;
- each may be nil.
+ The command gets stdIn, stdOut and stdErr assigned from the arguments; each may be nil.
+ If auxInStream is nonNil, it is passed as FD3 for reading;
Return the processId if successful, nil otherwise.
Notice: on Unix, this id is an integer; on Windows, it is a processhandle.
Use #monitorPid:action: for synchronization and exec status return,
@@ -1213,7 +1214,7 @@
^ self
startProcess:aCommandString
inputFrom:anExternalInStreamOrNil outputTo:anExternalOutStreamOrNil errorTo:anExternalErrStreamOrNil
- auxFrom:anAuxiliaryStreamOrNil aux2To:nil
+ auxFrom:anAuxiliaryInStreamOrNil aux2To:nil
environment:anEvironmentDictionary inDirectory:dir
newPgrp:newPgrp
showWindow:showWindowBooleanOrNil