| Python 2.2 für Einsteiger | ||
|---|---|---|
| <<< Previous | Einführung anhand von Beispielen | Next >>> |
import os
pid = os.fork()
if pid == 0 :
# this is the child
os.execv( "xv" , ( "-display" , "host:0.0" , "picture.jpg" ) )
else :
# this is the parent,
# nothing special to do
pass
| <<< Previous | Home | Next >>> |
| Generators | Up | Restmenge |