Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8524 > unrolled thread
| Started by | Andrew Berg <bahamutzero8825@gmail.com> |
|---|---|
| First post | 2011-06-28 01:47 -0500 |
| Last post | 2011-06-28 01:47 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Trying to chain processes together on a pipeline Andrew Berg <bahamutzero8825@gmail.com> - 2011-06-28 01:47 -0500
| From | Andrew Berg <bahamutzero8825@gmail.com> |
|---|---|
| Date | 2011-06-28 01:47 -0500 |
| Subject | Re: Trying to chain processes together on a pipeline |
| Message-ID | <mailman.471.1309243643.1164.python-list@python.org> |
On 2011.06.28 01:32 AM, Peter Otten wrote: > >>> subprocess.call(["ls"], stdout=open(os.devnull, "w")) > 0 D'oh! Not sure why I was thinking os.devnull was a file object. :-[ > Start with factoring out common code into a good old function. For some reason I was thinking I would have problems doing that, but looking at it again, I could probably refactor that into a really nice function that logs at least all the common Windows error codes that may arise. Thanks for pointing those out.
Back to top | Article view | comp.lang.python
csiph-web