21182
|
1 |
"{ Encoding: utf8 }"
|
|
2 |
|
12890
|
3 |
"{ Package: 'stx:libbasic' }"
|
|
4 |
|
19286
|
5 |
"{ NameSpace: Smalltalk }"
|
|
6 |
|
12890
|
7 |
Object subclass:#OSProcess
|
21182
|
8 |
instanceVariableNames:'pid command environment directory inStream outStream errorStream
|
|
9 |
auxStream showWindow lineWise newPgrp exitStatus finishSema
|
21206
|
10 |
shufflerProcesses streamsToClose terminateActionBlock'
|
12890
|
11 |
classVariableNames:''
|
|
12 |
poolDictionaries:''
|
|
13 |
category:'System-Support'
|
|
14 |
!
|
|
15 |
|
|
16 |
!OSProcess class methodsFor:'documentation'!
|
|
17 |
|
|
18 |
documentation
|
|
19 |
"
|
21182
|
20 |
Instances of OSProcess represent operating system processes thatr can be executed.
|
12890
|
21 |
(as opposed to Smalltalk processes).
|
|
22 |
|
|
23 |
[author:]
|
|
24 |
Stefan Vogel (stefan@zwerg)
|
|
25 |
|
|
26 |
[instance variables:]
|
|
27 |
pid SmallInteger the process id
|
21182
|
28 |
command String the command line of the running command.
|
12890
|
29 |
|
|
30 |
[class variables:]
|
|
31 |
|
|
32 |
[see also:]
|
|
33 |
Process
|
|
34 |
|
|
35 |
"
|
21181
|
36 |
!
|
|
37 |
|
|
38 |
examples
|
|
39 |
"
|
|
40 |
|outStream|
|
|
41 |
|
|
42 |
outStream := '' writeStream.
|
|
43 |
|
|
44 |
self new
|
21182
|
45 |
command:'ls -l';
|
21181
|
46 |
inStream:'abc' readStream;
|
|
47 |
outStream:outStream;
|
|
48 |
lineWise:true;
|
|
49 |
execute.
|
|
50 |
|
|
51 |
outStream contents
|
|
52 |
"
|
21184
|
53 |
|
|
54 |
"
|
|
55 |
|outStream|
|
|
56 |
|
|
57 |
outStream := '' writeStream.
|
|
58 |
|
|
59 |
self new
|
|
60 |
command:'ls -l; sleep 10; echo =================================; echo hallo after 10s; echo >&2 +++++++++++++++++++++; cat >&2';
|
|
61 |
inStream:'abc' readStream;
|
|
62 |
outStream:outStream;
|
|
63 |
errorStream:outStream;
|
|
64 |
startProcess.
|
|
65 |
|
|
66 |
outStream inspect
|
|
67 |
"
|
|
68 |
|
|
69 |
"
|
|
70 |
|outStream|
|
|
71 |
|
|
72 |
outStream := '' writeStream.
|
|
73 |
|
|
74 |
self new
|
|
75 |
command:'ls -l & ls -l >&2';
|
|
76 |
inStream:'abc' readStream;
|
|
77 |
outStream:outStream;
|
|
78 |
errorStream:outStream;
|
|
79 |
startProcess.
|
|
80 |
|
|
81 |
outStream inspect
|
|
82 |
"
|
21181
|
83 |
! !
|
|
84 |
|
|
85 |
!OSProcess class methodsFor:'instance creation'!
|
|
86 |
|
|
87 |
new
|
|
88 |
"return an initialized instance"
|
|
89 |
|
|
90 |
^ self basicNew initialize.
|
12890
|
91 |
! !
|
|
92 |
|
21172
|
93 |
!OSProcess class methodsFor:'initialize'!
|
|
94 |
|
|
95 |
initialize
|
|
96 |
"Backward compatibility"
|
|
97 |
Win32Process := self.
|
|
98 |
! !
|
|
99 |
|
12890
|
100 |
!OSProcess methodsFor:'accessing'!
|
|
101 |
|
21181
|
102 |
auxStream
|
|
103 |
^ auxStream
|
|
104 |
!
|
|
105 |
|
|
106 |
auxStream:something
|
21208
|
107 |
"set an auxilliary input stream that will be available to the command as
|
|
108 |
file descriptor 3"
|
|
109 |
|
21181
|
110 |
auxStream := something.
|
|
111 |
!
|
|
112 |
|
21172
|
113 |
command
|
|
114 |
"return the value of the instance variable 'command' (automatically generated)"
|
|
115 |
|
|
116 |
^ command
|
|
117 |
|
|
118 |
"Created: / 10.11.1998 / 21:27:07 / cg"
|
|
119 |
!
|
|
120 |
|
21208
|
121 |
command:aStringOrArray
|
|
122 |
"set the command to be executed.
|
|
123 |
If aStringOrArray is a String, the commandString is passed to a shell for execution
|
|
124 |
- see the description of 'sh -c' in your UNIX manual ('cmd.exe' in your Windows manual).
|
|
125 |
If aCommandString is an Array, the first element is the command to be executed,
|
|
126 |
and the other elements are the arguments to the command. No shell is invoked in this case."
|
21172
|
127 |
|
21208
|
128 |
command := aStringOrArray.
|
21172
|
129 |
!
|
|
130 |
|
|
131 |
directory
|
|
132 |
"return the value of the instance variable 'directory' (automatically generated)"
|
|
133 |
|
|
134 |
^ directory
|
|
135 |
|
|
136 |
"Created: / 10.11.1998 / 21:21:52 / cg"
|
|
137 |
!
|
|
138 |
|
21208
|
139 |
directory:aString
|
|
140 |
"set the directory that will be set as the current directory of the command to be executed"
|
21172
|
141 |
|
21208
|
142 |
directory := aString.
|
21172
|
143 |
!
|
|
144 |
|
|
145 |
environment
|
|
146 |
"return the value of the instance variable 'environment' (automatically generated)"
|
|
147 |
|
|
148 |
^ environment
|
|
149 |
|
|
150 |
"Created: / 10.11.1998 / 21:26:34 / cg"
|
|
151 |
!
|
|
152 |
|
21208
|
153 |
environment:aDictionary
|
|
154 |
"set the environment variables of the command to be executed"
|
21172
|
155 |
|
21208
|
156 |
environment := aDictionary.
|
21172
|
157 |
!
|
|
158 |
|
|
159 |
errorStream
|
|
160 |
"return the value of the instance variable 'errorStream' (automatically generated)"
|
|
161 |
|
|
162 |
^ errorStream
|
|
163 |
|
|
164 |
"Created: / 10.11.1998 / 21:26:34 / cg"
|
12890
|
165 |
!
|
|
166 |
|
21208
|
167 |
errorStream:aStream
|
|
168 |
"set the stream where the stderr output of the command is directed to"
|
21172
|
169 |
|
21208
|
170 |
errorStream := aStream.
|
21172
|
171 |
!
|
|
172 |
|
|
173 |
exitStatus
|
21208
|
174 |
"answer the exit status of the command or nil, if the command has not yet been finished"
|
21172
|
175 |
|
|
176 |
^ exitStatus
|
|
177 |
!
|
|
178 |
|
|
179 |
exitStatus:something
|
|
180 |
"set the value of the instance variable 'exitStatus' (automatically generated)"
|
|
181 |
|
|
182 |
exitStatus := something.
|
|
183 |
|
|
184 |
"Created: / 10.11.1998 / 21:24:55 / cg"
|
|
185 |
!
|
|
186 |
|
|
187 |
finishSema
|
21184
|
188 |
"wait on this semaphore if yo want to wait until the os process has finished.
|
|
189 |
There may be multiple waiters, so it is a good idea to do a #waitUncounted"
|
21172
|
190 |
|
|
191 |
^ finishSema
|
|
192 |
!
|
|
193 |
|
|
194 |
inStream
|
|
195 |
"return the value of the instance variable 'inStream' (automatically generated)"
|
|
196 |
|
|
197 |
^ inStream
|
|
198 |
|
|
199 |
"Created: / 10.11.1998 / 21:26:34 / cg"
|
|
200 |
!
|
|
201 |
|
21208
|
202 |
inStream:aStream
|
|
203 |
"set the stream where the stdin input of the command is read from"
|
21172
|
204 |
|
21208
|
205 |
inStream := aStream.
|
21172
|
206 |
!
|
|
207 |
|
21181
|
208 |
lineWise
|
|
209 |
^ lineWise
|
|
210 |
!
|
|
211 |
|
21208
|
212 |
lineWise:aBoolean
|
21209
|
213 |
"When setting to true, read linewise from the command's output and error.
|
|
214 |
This is a bit slower than lineWise = false.
|
21208
|
215 |
|
|
216 |
You may use it also when streaming to e.g. Transcript"
|
|
217 |
|
|
218 |
lineWise := aBoolean.
|
21181
|
219 |
!
|
|
220 |
|
21182
|
221 |
newPgrp
|
|
222 |
^ newPgrp
|
|
223 |
!
|
|
224 |
|
21208
|
225 |
newPgrp:aBoolean
|
|
226 |
"if aBoolean is true, a new process group will be created for the command and its subprocesses"
|
|
227 |
|
|
228 |
newPgrp := aBoolean.
|
21182
|
229 |
!
|
|
230 |
|
21172
|
231 |
outStream
|
|
232 |
"return the value of the instance variable 'outStream' (automatically generated)"
|
|
233 |
|
|
234 |
^ outStream
|
|
235 |
|
|
236 |
"Created: / 10.11.1998 / 21:26:34 / cg"
|
|
237 |
!
|
|
238 |
|
21208
|
239 |
outStream:aStream
|
|
240 |
"set the stream where the stdout output of the command is directed to"
|
21172
|
241 |
|
21208
|
242 |
outStream := aStream.
|
12890
|
243 |
!
|
|
244 |
|
|
245 |
pid
|
21208
|
246 |
"answer the pid of the process the command is running in or nil, if the command has not yet been started."
|
|
247 |
|
12890
|
248 |
^ pid
|
|
249 |
!
|
|
250 |
|
|
251 |
pid:something
|
|
252 |
pid := something.
|
21181
|
253 |
!
|
|
254 |
|
|
255 |
showWindow
|
|
256 |
^ showWindow
|
|
257 |
!
|
|
258 |
|
21208
|
259 |
showWindow:aBooleanOrNil
|
|
260 |
"This parameter is ignored on Unix systems.
|
|
261 |
|
|
262 |
You can control (have to - sigh) if a window should be shown for the command or not.
|
|
263 |
This is the OS's H_SHOWWINDOW argument.
|
|
264 |
If you pass nil as showWindow-argument, the OS's default is used for the particular
|
|
265 |
command, which is correct most of the time: i.e. a notepad will open its window, other (non-UI)
|
|
266 |
executables will not.
|
|
267 |
However, some command-line executables show a window, even if they should not.
|
|
268 |
(and also, there seems to be an inconsistency between windows7 and newer windows: in newer,
|
|
269 |
a shell command opens a cmd-window, whereas in windows7 it did not)
|
|
270 |
In this case, pass an explicit false argument to suppress it."
|
|
271 |
|
|
272 |
showWindow := aBooleanOrNil.
|
21206
|
273 |
!
|
|
274 |
|
|
275 |
terminateActionBlock
|
|
276 |
^ terminateActionBlock
|
|
277 |
!
|
|
278 |
|
21208
|
279 |
terminateActionBlock:aBlock
|
|
280 |
"set the block that will be executed when the command has been finished or terminated."
|
|
281 |
|
|
282 |
terminateActionBlock := aBlock.
|
12890
|
283 |
! !
|
|
284 |
|
21181
|
285 |
!OSProcess methodsFor:'initialization'!
|
|
286 |
|
|
287 |
initialize
|
|
288 |
"Invoked when a new instance is created."
|
|
289 |
|
|
290 |
showWindow := false. "/ for backward compatibility
|
21183
|
291 |
lineWise := false.
|
|
292 |
newPgrp := true.
|
21181
|
293 |
! !
|
|
294 |
|
13313
|
295 |
!OSProcess methodsFor:'printing'!
|
|
296 |
|
|
297 |
printOn:aStream
|
|
298 |
aStream
|
|
299 |
nextPutAll:self className;
|
|
300 |
nextPut:$(.
|
|
301 |
pid printOn:aStream.
|
|
302 |
aStream space.
|
21172
|
303 |
command printOn:aStream.
|
13313
|
304 |
aStream nextPut:$)
|
|
305 |
! !
|
|
306 |
|
21181
|
307 |
!OSProcess methodsFor:'private'!
|
|
308 |
|
|
309 |
setupShufflerForInput:aStream
|
21182
|
310 |
"if aStream is an internal Stream, set up a pipe for the command input.
|
|
311 |
Start a process that shuffles tha data fron the internal stream into the pipe
|
|
312 |
(and into the command's input)."
|
|
313 |
|
21181
|
314 |
|pipe externalStream shuffledStream shufflerProcess|
|
|
315 |
|
|
316 |
(aStream isNil or:[aStream isExternalStream]) ifTrue:[
|
|
317 |
^ aStream.
|
|
318 |
].
|
|
319 |
|
|
320 |
pipe := NonPositionableExternalStream makePipe.
|
|
321 |
externalStream := pipe at:1.
|
|
322 |
shuffledStream := pipe at:2.
|
|
323 |
lineWise ifFalse:[
|
|
324 |
shuffledStream blocking:false.
|
|
325 |
].
|
|
326 |
aStream isBinary ifTrue:[
|
|
327 |
shuffledStream binary.
|
|
328 |
].
|
|
329 |
|
|
330 |
"/ start a reader process, shuffling data from the given
|
|
331 |
"/ inStream to the pipe (which is connected to the commands input)
|
21182
|
332 |
shufflerProcess := [
|
21181
|
333 |
[
|
21184
|
334 |
WriteError handle:[:ex |"ignored" ] do:[
|
|
335 |
lineWise ifTrue:[
|
|
336 |
"shuffle until end-of-input"
|
|
337 |
[aStream atEnd] whileFalse:[
|
|
338 |
|data|
|
|
339 |
|
|
340 |
data := aStream nextLine.
|
|
341 |
data notNil ifTrue:[
|
|
342 |
shuffledStream nextPutLine:data.
|
|
343 |
shuffledStream flush.
|
|
344 |
].
|
|
345 |
].
|
|
346 |
] ifFalse:[
|
|
347 |
aStream copyToEndInto:shuffledStream.
|
|
348 |
].
|
|
349 |
].
|
21181
|
350 |
] ensure:[
|
|
351 |
shuffledStream close.
|
|
352 |
]
|
|
353 |
] newProcess
|
|
354 |
name:'OSProcess input shuffler';
|
|
355 |
"/ beSystemProcess;
|
|
356 |
resume.
|
|
357 |
|
|
358 |
shufflerProcesses add:shufflerProcess.
|
21184
|
359 |
streamsToClose add:externalStream.
|
|
360 |
|
21181
|
361 |
^ externalStream
|
|
362 |
!
|
|
363 |
|
|
364 |
setupShufflerForOutput:aStream
|
21182
|
365 |
"if aStream is an internal Stream, set up a pipe for the command output.
|
|
366 |
Start a process that shuffles the data fron the pipe into the internal stream."
|
|
367 |
|
21181
|
368 |
|pipe externalStream shuffledStream shufflerProcess|
|
|
369 |
|
|
370 |
(aStream isNil or:[aStream isExternalStream]) ifTrue:[
|
|
371 |
^ aStream.
|
|
372 |
].
|
|
373 |
|
|
374 |
pipe := NonPositionableExternalStream makePipe.
|
|
375 |
externalStream := pipe at:2.
|
|
376 |
shuffledStream := pipe at:1.
|
|
377 |
aStream isBinary ifTrue:[
|
|
378 |
shuffledStream binary.
|
|
379 |
].
|
|
380 |
|
21182
|
381 |
shufflerProcess := [
|
|
382 |
WriteError handle:[:ex |"ignored" ] do:[
|
21181
|
383 |
[
|
21184
|
384 |
"shuffle until the pipe closes"
|
|
385 |
lineWise ifTrue:[
|
|
386 |
[shuffledStream atEnd] whileFalse:[
|
|
387 |
|data|
|
|
388 |
|
|
389 |
data := shuffledStream nextLine.
|
|
390 |
data notNil ifTrue:[
|
|
391 |
aStream nextPutLine:data
|
|
392 |
] .
|
|
393 |
].
|
|
394 |
] ifFalse:[
|
|
395 |
shuffledStream copyToEndInto:aStream.
|
|
396 |
].
|
21181
|
397 |
] ensure:[
|
21182
|
398 |
shuffledStream close.
|
21181
|
399 |
].
|
|
400 |
].
|
|
401 |
] newProcess
|
|
402 |
priority:(Processor userSchedulingPriority "+ 1");
|
|
403 |
name:'OSProcess output shuffler';
|
|
404 |
"/ beSystemProcess;
|
|
405 |
resume.
|
|
406 |
|
21184
|
407 |
streamsToClose add:externalStream.
|
|
408 |
|
21181
|
409 |
^ externalStream
|
|
410 |
! !
|
|
411 |
|
12890
|
412 |
!OSProcess methodsFor:'queries'!
|
|
413 |
|
21208
|
414 |
finishedWithSuccess
|
|
415 |
^ exitStatus notNil and:[exitStatus success].
|
|
416 |
!
|
|
417 |
|
12890
|
418 |
isAlive
|
|
419 |
"answer true, if the process is still alive"
|
|
420 |
|
21205
|
421 |
^ pid notNil and:[exitStatus isNil]
|
12890
|
422 |
!
|
|
423 |
|
|
424 |
isDead
|
|
425 |
"answer true, if the process is no longer alive"
|
|
426 |
|
|
427 |
^ self isAlive not
|
|
428 |
! !
|
|
429 |
|
21172
|
430 |
!OSProcess methodsFor:'starting'!
|
|
431 |
|
21181
|
432 |
execute
|
21184
|
433 |
"execute the command.
|
|
434 |
Wait until is is finished.
|
|
435 |
Abort the execution if I am interrupted.
|
|
436 |
Answer true if the terminated succesfully,
|
|
437 |
false if it could not be started or terminated with error."
|
21181
|
438 |
|
21184
|
439 |
|ok|
|
21181
|
440 |
|
|
441 |
[
|
21185
|
442 |
ok := self startProcess.
|
|
443 |
ok ifTrue:[
|
21208
|
444 |
self waitUntilFinished.
|
|
445 |
ok := self finishedWithSuccess.
|
21185
|
446 |
].
|
21184
|
447 |
] ifCurtailed:[
|
|
448 |
"/ we were interrupted -
|
|
449 |
"/ terminate the os-command (and all of its forked commands)
|
21185
|
450 |
pid notNil ifTrue:[
|
|
451 |
self terminateGroup.
|
|
452 |
].
|
21181
|
453 |
].
|
21184
|
454 |
^ ok.
|
21181
|
455 |
!
|
|
456 |
|
21172
|
457 |
startProcess
|
21184
|
458 |
"If there are non-external streams, setup transfer (shuffler) processes
|
|
459 |
to transfer data from a pipe to the internal stream.
|
|
460 |
Start the command.
|
|
461 |
Answer true if the command could be started, false if not.
|
|
462 |
Return immediately (do not wait until the command is finished)."
|
|
463 |
|
21200
|
464 |
|externalInStream externalAuxStream externalErrorStream externalOutStream|
|
21184
|
465 |
|
21200
|
466 |
shufflerProcesses := OrderedCollection new:4.
|
|
467 |
streamsToClose := OrderedCollection new:2.
|
21184
|
468 |
|
|
469 |
externalInStream := self setupShufflerForInput:inStream.
|
|
470 |
externalAuxStream := self setupShufflerForInput:auxStream.
|
|
471 |
errorStream == outStream ifTrue:[
|
|
472 |
externalErrorStream := externalOutStream := self setupShufflerForOutput:errorStream.
|
|
473 |
] ifFalse:[
|
|
474 |
externalErrorStream := self setupShufflerForOutput:errorStream.
|
|
475 |
externalOutStream := self setupShufflerForOutput:outStream.
|
|
476 |
].
|
|
477 |
|
|
478 |
"start the command"
|
21200
|
479 |
finishSema := EventSemaphore new.
|
21172
|
480 |
|
|
481 |
Processor
|
|
482 |
monitor:[
|
|
483 |
pid := OperatingSystem
|
21200
|
484 |
startProcess:command
|
|
485 |
inputFrom:externalInStream
|
|
486 |
outputTo:externalOutStream
|
|
487 |
errorTo:externalErrorStream
|
|
488 |
auxFrom:externalAuxStream
|
|
489 |
environment:environment
|
|
490 |
inDirectory:directory
|
|
491 |
newPgrp:newPgrp
|
|
492 |
showWindow:showWindow.
|
21172
|
493 |
]
|
|
494 |
action:[:status |
|
|
495 |
status stillAlive ifFalse:[
|
|
496 |
exitStatus := status.
|
|
497 |
pid notNil ifTrue:[
|
|
498 |
OperatingSystem closePid:pid.
|
|
499 |
].
|
21184
|
500 |
shufflerProcesses do:[:eachProcess|
|
|
501 |
"terminate the shuffler processes.
|
|
502 |
They close the local side of the pipe when being terminated"
|
|
503 |
eachProcess terminate.
|
|
504 |
].
|
21206
|
505 |
terminateActionBlock value.
|
21184
|
506 |
finishSema signal.
|
21172
|
507 |
].
|
|
508 |
].
|
|
509 |
|
21184
|
510 |
"we can close the remote side of the pipes after the os process has been started (after the fork)"
|
|
511 |
streamsToClose do:[:eachStream | eachStream close].
|
|
512 |
streamsToClose := nil.
|
|
513 |
|
21172
|
514 |
pid isNil ifTrue:[
|
21184
|
515 |
"process could not be started - terminate shufflers"
|
|
516 |
shufflerProcesses do:[:eachProcess|
|
|
517 |
eachProcess terminate.
|
|
518 |
].
|
|
519 |
shufflerProcesses := nil.
|
21172
|
520 |
exitStatus := OperatingSystem osProcessStatusClass processCreationFailure.
|
21208
|
521 |
finishSema signal.
|
21184
|
522 |
^ false.
|
21172
|
523 |
].
|
|
524 |
|
|
525 |
^ true.
|
|
526 |
! !
|
|
527 |
|
12890
|
528 |
!OSProcess methodsFor:'terminating'!
|
|
529 |
|
|
530 |
kill
|
|
531 |
"kill the process - the process does not get the chance to clean up"
|
|
532 |
|
21208
|
533 |
pid notNil ifTrue:[
|
|
534 |
OperatingSystem killProcess:pid.
|
|
535 |
].
|
12890
|
536 |
!
|
|
537 |
|
|
538 |
killGroup
|
20379
|
539 |
"kill the processGroup - the processes do not get the chance to clean up"
|
|
540 |
|
21208
|
541 |
pid notNil ifTrue:[
|
|
542 |
OperatingSystem
|
|
543 |
killProcessGroup:pid;
|
|
544 |
killProcess:pid.
|
|
545 |
].
|
12890
|
546 |
!
|
|
547 |
|
|
548 |
terminate
|
|
549 |
"terminate the process gracefully"
|
|
550 |
|
21208
|
551 |
pid notNil ifTrue:[
|
|
552 |
OperatingSystem terminateProcess:pid.
|
|
553 |
].
|
12890
|
554 |
!
|
|
555 |
|
|
556 |
terminateGroup
|
|
557 |
"terminate the process group.
|
|
558 |
Under Windows, these is the same as terminateWithhAllChildren,
|
|
559 |
under unix, this terminates a subset of all children"
|
|
560 |
|
21208
|
561 |
pid notNil ifTrue:[
|
|
562 |
OperatingSystem
|
|
563 |
terminateProcessGroup:pid;
|
|
564 |
terminateProcess:pid.
|
|
565 |
].
|
21184
|
566 |
! !
|
|
567 |
|
|
568 |
!OSProcess methodsFor:'waiting'!
|
|
569 |
|
|
570 |
waitUntilFinished
|
21208
|
571 |
^ self waitUntilFinishedWithTimeout:nil
|
|
572 |
!
|
|
573 |
|
|
574 |
waitUntilFinishedWithTimeout:timeout
|
21184
|
575 |
|processList|
|
|
576 |
|
21208
|
577 |
(finishSema waitWithTimeout:timeout) isNil ifTrue:[
|
|
578 |
"timed out"
|
|
579 |
^ nil.
|
|
580 |
].
|
21184
|
581 |
|
|
582 |
"have to wait until the shufflers have finished their work"
|
21208
|
583 |
processList := shufflerProcesses.
|
|
584 |
processList notEmptyOrNil ifTrue:[
|
21184
|
585 |
processList do:[:eachProcess |
|
|
586 |
eachProcess waitUntilTerminated.
|
|
587 |
].
|
|
588 |
shufflerProcesses := nil.
|
|
589 |
].
|
12890
|
590 |
! !
|
|
591 |
|
|
592 |
!OSProcess class methodsFor:'documentation'!
|
|
593 |
|
19298
|
594 |
version
|
|
595 |
^ '$Header$'
|
|
596 |
!
|
|
597 |
|
12890
|
598 |
version_CVS
|
19286
|
599 |
^ '$Header$'
|
12890
|
600 |
! !
|
19286
|
601 |
|
21172
|
602 |
|
|
603 |
OSProcess initialize!
|