Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.python > #4789

[Python-de] os.system und os.popen

Path csiph.com!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!feedme.news.telefonica.de!telefonica.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Ulrich Goebel <ml@fam-goebel.de>
Newsgroups de.comp.lang.python
Subject [Python-de] os.system und os.popen
Date Thu, 25 May 2017 17:19:57 +0200
Lines 19
Message-ID <mailman.46.1495726174.8815.python-de@python.org> (permalink)
References <c19f4a3f-fcf3-185a-574b-27e7cbeb56aa@fam-goebel.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de 5f1t7BAyOQEWRUxm3e+zMgHE3qF/xcW8PmXQ5+Vzm08Q==
Return-Path <ml@fam-goebel.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
Content-Language en-US
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <c19f4a3f-fcf3-185a-574b-27e7cbeb56aa@fam-goebel.de>
Xref csiph.com de.comp.lang.python:4789

Show key headers only | View raw


Hallo,

ich möchte mit

   error=os.system("latex ...") LaTeX oder andere Befehle aufrufen. Im

Falle, dass der Befehl mit einem Code != 0 (error != 0) endet, möchte 
ich gerne die Ausgaben des Befehls sehen, also das Ergebnis von

   log=os.popen("latex ...")

Geht das?

Mit Dank und Gruß
Ulrich

-- 
Ulrich Goebel
Am Büchel 57, 53173 Bonn

Back to de.comp.lang.python | Previous | NextNext in thread | Find similar


Thread

[Python-de] os.system und os.popen Ulrich Goebel <ml@fam-goebel.de> - 2017-05-25 17:19 +0200
  Re: [Python-de] os.system und os.popen Hermann Riemann <nospam.ng@hermann-riemann.de> - 2017-05-25 17:40 +0200
    Re: [Python-de] os.system und os.popen "Sven R. Kunze" <srkunze@mail.de> - 2017-05-25 19:06 +0200
    Re: [Python-de] os.system und os.popen Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2017-05-25 20:01 +0200
    Re: [Python-de] os.system und os.popen Reimar Bauer <rb.proj@gmail.com> - 2017-05-25 23:30 +0200

csiph-web