Programmaufruf aus Python


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