Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4791
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Hermann Riemann <nospam.ng@hermann-riemann.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] os.system und os.popen |
| Date | Thu, 25 May 2017 17:40:32 +0200 |
| Lines | 20 |
| Message-ID | <eooc7gFaul8U1@mid.individual.net> (permalink) |
| References | <c19f4a3f-fcf3-185a-574b-27e7cbeb56aa@fam-goebel.de> <mailman.46.1495726174.8815.python-de@python.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net CcvABFG0Nj5A2VjRdKLfKAuKBQ6oS2ntoM9hjxB0RbIDTfZsJC |
| Cancel-Lock | sha1:hCiBm5b/58vVPokPjiHqddV4Ntg= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 |
| In-Reply-To | <mailman.46.1495726174.8815.python-de@python.org> |
| Content-Language | de-DE |
| Xref | csiph.com de.comp.lang.python:4791 |
Show key headers only | View raw
Am 25.05.2017 um 17:19 schrieb Ulrich Goebel:
> 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?
error=os.system("latex ... 2> /tmp/log")
Hermann
der das so machen würde
--
http://www.hermann-riemann.de
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
[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