Jo diky. RTFM pomohlo. Omlouvam se a prikladam konecny kod. import subprocess p = subprocess.Popen('test.py', shell=True, stdout = subprocess.PIPE) p.wait() ec = p.poll() print ec print p.stdout.readlines() > Precti si manual modulu subprocess. > > Hezky den, > -jkt > > -- > cd /local/pub && more beer > /dev/mouth